{"content":"<div></div>","rawMetadata":{"metadata":{"_op_canonicalUrlPrefix":"https://learn.microsoft.com/zh-cn/powershell/","_op_gitContributorInformation":{"author":{"display_name":"Banreet Kaur","id":"92906285","name":"Banreet","profile_url":"https://github.com/Banreet"},"contributors":[{"display_name":"Aaron Czechowski","id":"26784733","name":"aczechowski","profile_url":"https://github.com/aczechowski"},{"display_name":"Dan Mabee","id":"40476441","name":"damabe","profile_url":"https://github.com/damabe"},{"display_name":"sankethka","id":"16908144","name":"sankethka","profile_url":"https://github.com/sankethka"}],"update_at":"2026/6/26","updated_at_date_time":"2026-06-26T00:08:28.1986511Z"},"_path":"module/configurationmanager/set-cmsitesystemserver.json","_rel":"../../","_tocRel":"../sccm-ps/toc.json","apiPlatform":"powershell","author":"Banreet","breadcrumb_path":"/powershell/sccm/bread/toc.json","canonical_url":"https://learn.microsoft.com/zh-cn/powershell/module/configurationmanager/set-cmsitesystemserver?view=sccm-ps","content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell-ref/blob/main/sccm-ps/ConfigurationManager/Set-CMSiteSystemServer.md","default_moniker":"sccm-ps","depot_name":"MSDN.sccm-powershell","description":"配置站点系统服务器角色。","document_id":"a0dbc03a-aa3d-3135-a463-86784400fa68","document_version_independent_id":"68d6d3f0-ae93-7683-53ca-287da395f319","external help file":"AdminUI.PS.dll-Help.xml","feedback_product_url":"https://feedbackportal.microsoft.com/feedback/forum/4669adfc-ee1b-ec11-b6e7-0022481f8472","feedback_system":"Standard","git_commit_id":"48cf632fb4b9ad92060012681a500478254de750","gitcommit":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/48cf632fb4b9ad92060012681a500478254de750/sccm-ps/ConfigurationManager/Set-CMSiteSystemServer.md","github_contributors":["aczechowski","damabe","sankethka"],"locale":"zh-cn","manager":"laurawi","Module Name":"ConfigurationManager","monikers":["sccm-ps"],"ms.author":"dannygu","ms.date":"12/28/2020","ms.service":"configuration-manager","ms.subservice":"other","ms.topic":"reference","open_to_public_contributors":true,"original_content_git_url":"https://github.com/MicrosoftDocs/sccm-docs-powershell/blob/live/sccm-ps/ConfigurationManager/Set-CMSiteSystemServer.md","original_content_git_url_template":"{repo}/blob/{branch}/sccm-ps/ConfigurationManager/Set-CMSiteSystemServer.md","PlatyPS schema version":"2.0.0","products":["https://authoring-docs-microsoft.poolparty.biz/devrel/f1499c3b-793f-48c3-a9ce-20285bcc6541"],"site_name":"Docs","title":"Set-CMSiteSystemServer","titleSuffix":"Configuration Manager","uhfHeaderId":"MSDocsHeader-Powershell","updated_at":"2026-06-26 12:08 AM","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/set-cmsitesystemserver","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Set-CMSiteSystemServer","schemaType":"PowershellCmdlet","summary":"<p>配置站点系统服务器角色。</p>\n","uid":"ConfigurationManager.Set-CMSiteSystemServer"}],"ocv-translation-feedback":true},"_xrefmap":{"ConfigurationManager":{"href":"./","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"ConfigurationManager","schemaType":"PowershellModule","uid":"ConfigurationManager"},"ConfigurationManager.Set-CMSiteSystemServer":{"href":"set-cmsitesystemserver","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Set-CMSiteSystemServer","schemaType":"PowershellCmdlet","summary":"<p>配置站点系统服务器角色。</p>\n","uid":"ConfigurationManager.Set-CMSiteSystemServer"}},"description":"<p>使用此 cmdlet 配置站点系统服务器角色。 具有 <strong>站点系统</strong> 角色的服务器承载 Configuration Manager 站点的一个或多个其他角色。</p>\n<p>若要配置特定的站点系统角色，请使用以下 cmdlet 之一：</p>\n<ul>\n<li>\n              <a href=\"set-cmassetintelligencesynchronizationpoint\">Set-CMAssetIntelligenceSynchronizationPoint</a></li>\n<li>\n              <a href=\"set-cmcertificateregistrationpoint\">Set-CMCertificateRegistrationPoint</a></li>\n<li>\n              <a href=\"set-cmcloudmanagementgatewayconnectionpoint\">Set-CMCloudManagementGatewayConnectionPoint</a></li>\n<li>\n              <a href=\"set-cmdatawarehouseservicepoint\">Set-CMDataWarehouseServicePoint</a></li>\n<li>\n              <a href=\"set-cmdistributionpoint\">Set-CMDistributionPoint</a></li>\n<li>\n              <a href=\"set-cmendpointprotectionpoint\">Set-CMEndpointProtectionPoint</a></li>\n<li>\n              <a href=\"set-cmfallbackstatuspoint\">Set-CMFallbackStatusPoint</a></li>\n<li>\n              <a href=\"set-cmmanagementpoint\">Set-CMManagementPoint</a></li>\n<li>\n              <a href=\"set-cmmulticastservicepoint\">Set-CMMulticastServicePoint</a></li>\n<li>\n              <a href=\"set-cmreportingservicepoint\">Set-CMReportingServicePoint</a></li>\n<li>\n              <a href=\"set-cmserviceconnectionpoint\">Set-CMServiceConnectionPoint</a></li>\n<li>\n              <a href=\"set-cmsoftwareupdatepoint\">Set-CMSoftwareUpdatePoint</a></li>\n<li>\n              <a href=\"set-cmstatemigrationpoint\">Set-CMStateMigrationPoint</a></li>\n</ul>\n<div class=\"NOTE\">\n<p>注意</p>\n<p>从 Configuration Manager 站点驱动器运行 Configuration Manager cmdlet，例如 <code>PS XYZ:\\&gt;</code>。 有关详细信息，请参阅 <a href=\"/powershell/sccm/overview\">入门</a>。</p>\n</div>\n","examples":[{"code":"Get-CMSiteSystemServer -Name \"Server2.contoso.com\" -SiteCode \"MP5\" | Set-CMSiteSystemServer -PublicFqdn \"Internetsrv2New.contoso.com\" -FdmOperation $False -AccountName \"contoso\\cmsvc\" -EnableProxy $True -ProxyServerName \"ProxyServer1\" -ProxyServerPort 80 -ProxyAccessAccount (Get-CMAccount \"contoso\\proxysvc\") -PassThru","description":"","summary":"<p>此命令首先使用 <strong>Get-CMSiteSystemServer</strong> cmdlet 获取 <strong>Server2.contoso.com</strong> 的站点系统服务器对象。 然后，它使用管道运算符将对象传递给 <strong>Set-CMSiteSystemServer</strong>，后者将配置服务器。 它将 FQDN 添加到服务器，并使其能够使用名为 <strong>ProxyServer1</strong> 的代理服务器使用端口 80 连接到 Internet。</p>\n","title":"示例 1：修改站点系统服务器"}],"inputs":[{"description":"","name":"<span class=\"no-loc xref\">Microsoft.ConfigurationManagement.ManagementProvider.IResultObject</span>\n"}],"links":[{"href":"get-cmsitesystemserver","text":"Get-CMSiteSystemServer"},{"href":"new-cmsitesystemserver","text":"New-CMSiteSystemServer"},{"href":"remove-cmsitesystemserver","text":"Remove-CMSiteSystemServer"}],"module":"ConfigurationManager","name":"Set-CMSiteSystemServer","notes":"","outputs":[{"description":"","name":"<span class=\"no-loc xref\">IResultObject</span>\n"}],"parameters":[{"aliases":"","defaultValue":"None","description":"<p>指定用于安装此站点系统的帐户，以及用于来自站点服务器的所有连接的帐户。 有关详细信息，请参阅 <a href=\"/mem/configmgr/core/plan-design/hierarchy/accounts#site-system-installation-account\">站点系统安装帐户</a>。</p>\n<p>若要使用站点服务器的计算机帐户，请使用 <strong>UseSiteServerAccount</strong> 参数。</p>\n","name":"AccountName","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"cf","defaultValue":"False","description":"<p>提示你在运行 cmdlet 之前进行确认。</p>\n","name":"Confirm","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>此参数将通配符视为文本字符值。 不能将其与 <strong>ForceWildcardHandling</strong> 组合使用。</p>\n","name":"DisableWildcardHandling","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>将此参数设置为 ， <code>$true</code> 以便站点系统在同步来自 Internet 的信息时使用代理服务器。</p>\n<p>如果启用此选项，还配置以下参数：</p>\n<ul>\n<li>ProxyServerName</li>\n<li>ProxyServerPort</li>\n<li>ProxyAccessAccount</li>\n</ul>\n","name":"EnableProxy","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Boolean</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>将此参数设置为 以 <code>$true</code> 要求站点服务器启动到此站点系统的连接。</p>\n","name":"FdmOperation","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">Boolean</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>此参数处理通配符，并可能导致意外行为， (不建议) 。 不能将其与 <strong>DisableWildcardHandling</strong> 组合使用。</p>\n","name":"ForceWildcardHandling","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"SiteSystemServer","defaultValue":"None","description":"<p>指定要配置的站点系统服务器对象。 若要获取此对象，请使用 <a href=\"get-cmsitesystemserver\">Get-CMSiteSystemServer</a> cmdlet。</p>\n","isRequired":true,"name":"InputObject","parameterValueGroup":"","pipelineInput":true,"position":"Named","type":"<span class=\"no-loc xref\">IResultObject</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>添加此参数可返回一个对象，该对象表示正在使用的项。 默认情况下，此 cmdlet 可能不会生成任何输出。</p>\n","name":"PassThru","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>如果将 <strong>EnableProxy</strong> 设置为 <code>$true</code>，请使用此参数指定帐户对象。 站点系统使用这些凭据向代理服务器进行身份验证。 若要获取此帐户对象，请使用 <a href=\"get-cmaccount\">Get-CMAccount</a> cmdlet。</p>\n","name":"ProxyAccessAccount","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">IResultObject</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>如果将 <strong>EnableProxy</strong> 设置为 <code>$true</code>，请使用此参数指定代理服务器的名称。 此参数接受以下类型的值：</p>\n<ul>\n<li>完全限定的域名 (FQDN)</li>\n<li>主机名称</li>\n<li>IPv4 或 IPv6 地址</li>\n</ul>\n","name":"ProxyServerName","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>如果将 <strong>EnableProxy</strong> 设置为 <code>$true</code>，请使用此参数指定代理服务器端口号。</p>\n","name":"ProxyServerPort","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">UInt32</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定站点系统在 Internet 上使用的 FQDN。</p>\n","name":"PublicFqdn","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>指定此站点系统的站点代码。</p>\n","name":"SiteCode","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"Name, ServerName","defaultValue":"None","description":"<p>指定要配置的站点系统服务器的名称。</p>\n","isRequired":true,"name":"SiteSystemServerName","parameterValueGroup":"","position":"0","type":"<span class=\"no-loc xref\">String</span>\n"},{"aliases":"","defaultValue":"None","description":"<p>添加此参数以使用站点服务器的计算机帐户安装此站点系统。 有关详细信息，请参阅 <a href=\"/mem/configmgr/core/plan-design/hierarchy/accounts#site-system-installation-account\">站点系统安装帐户</a>。</p>\n<p>若要使用其他帐户，请使用 <strong>UseSiteServerAccount</strong> 参数。</p>\n","name":"UseSiteServerAccount","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"},{"aliases":"wi","defaultValue":"False","description":"<p>显示在 cmdlet 运行时发生的情况。 cmdlet 不会运行。</p>\n","name":"WhatIf","parameterValueGroup":"","position":"Named","type":"<span class=\"no-loc xref\">SwitchParameter</span>\n"}],"schema":"PowershellCmdlet","summary":"<p>配置站点系统服务器角色。</p>\n","syntaxes":["Set-CMSiteSystemServer [-AccountName <String>] [-EnableProxy <Boolean>] [-FdmOperation <Boolean>]\n -InputObject <IResultObject> [-PassThru] [-ProxyAccessAccount <IResultObject>] [-ProxyServerName <String>]\n [-ProxyServerPort <UInt32>] [-PublicFqdn <String>] [-UseSiteServerAccount] [-DisableWildcardHandling]\n [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]","Set-CMSiteSystemServer [-AccountName <String>] [-EnableProxy <Boolean>] [-FdmOperation <Boolean>] [-PassThru]\n [-ProxyAccessAccount <IResultObject>] [-ProxyServerName <String>] [-ProxyServerPort <UInt32>]\n [-PublicFqdn <String>] [-SiteCode <String>] [-SiteSystemServerName] <String> [-UseSiteServerAccount]\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]"],"uid":"ConfigurationManager.Set-CMSiteSystemServer","hideEdit":true,"ms.translationtype":"MT","ms.contentlocale":"zh-cn","loc_version":"2024-08-21T21:18:36.7205003Z","loc_source_id":"Github-72476255#live","loc_file_id":"Github-72476255.live.MSDN.sccm-powershell.sccm-ps/ConfigurationManager/Set-CMSiteSystemServer.md","xrefs":[{"href":"https://learn.microsoft.com/powershell/module/configurationmanager/set-cmsitesystemserver","monikerGroup":"f98fea35b6ac2b0f56c6ee5ec06ffce9","name":"Set-CMSiteSystemServer","schemaType":"PowershellCmdlet","summary":"<p>配置站点系统服务器角色。</p>\n","uid":"ConfigurationManager.Set-CMSiteSystemServer"}],"canonical_url":"https://learn.microsoft.com/zh-cn/powershell/module/configurationmanager/set-cmsitesystemserver?view=sccm-ps","_op_canonicalUrl":"https://learn.microsoft.com/zh-cn/powershell/module/configurationmanager/set-cmsitesystemserver?view=sccm-ps"},"pageMetadata":"<meta name=\"description\" content=\"<p>使用此 cmdlet 配置站点系统服务器角色。 具有 <strong>站点系统</strong> 角色的服务器承载 Configuration Manager 站点的一个或多个其他角色。</p>\n<p>若要配置特定的站点系统角色，请使用以下 cmdlet 之一：</p>\n<ul>\n<li>\n              <a href=&quot;set-cmassetintelligencesynchronizationpoint&quot;>Set-CMAssetIntelligenceSynchronizationPoint</a></li>\n<li>\n              <a href=&quot;set-cmcertificateregistrationpoint&quot;>Set-CMCertificateRegistrationPoint</a></li>\n<li>\n              <a href=&quot;set-cmcloudmanagementgatewayconnectionpoint&quot;>Set-CMCloudManagementGatewayConnectionPoint</a></li>\n<li>\n              <a href=&quot;set-cmdatawarehouseservicepoint&quot;>Set-CMDataWarehouseServicePoint</a></li>\n<li>\n              <a href=&quot;set-cmdistributionpoint&quot;>Set-CMDistributionPoint</a></li>\n<li>\n              <a href=&quot;set-cmendpointprotectionpoint&quot;>Set-CMEndpointProtectionPoint</a></li>\n<li>\n              <a href=&quot;set-cmfallbackstatuspoint&quot;>Set-CMFallbackStatusPoint</a></li>\n<li>\n              <a href=&quot;set-cmmanagementpoint&quot;>Set-CMManagementPoint</a></li>\n<li>\n              <a href=&quot;set-cmmulticastservicepoint&quot;>Set-CMMulticastServicePoint</a></li>\n<li>\n              <a href=&quot;set-cmreportingservicepoint&quot;>Set-CMReportingServicePoint</a></li>\n<li>\n              <a href=&quot;set-cmserviceconnectionpoint&quot;>Set-CMServiceConnectionPoint</a></li>\n<li>\n              <a href=&quot;set-cmsoftwareupdatepoint&quot;>Set-CMSoftwareUpdatePoint</a></li>\n<li>\n              <a href=&quot;set-cmstatemigrationpoint&quot;>Set-CMStateMigrationPoint</a></li>\n</ul>\n<div class=&quot;NOTE&quot;>\n<p>注意</p>\n<p>从 Configuration Manager 站点驱动器运行 Configuration Manager cmdlet，例如 <code>PS XYZ:\\&amp;gt;</code>。 有关详细信息，请参阅 <a href=&quot;/powershell/sccm/overview&quot;>入门</a>。</p>\n</div>\n\" />\r\n<meta name=\"hideEdit\" content=\"true\" />\r\n<meta name=\"loc_file_id\" content=\"Github-72476255.live.MSDN.sccm-powershell.sccm-ps/ConfigurationManager/Set-CMSiteSystemServer.md\" />\r\n<meta name=\"loc_source_id\" content=\"Github-72476255#live\" />\r\n<meta name=\"loc_version\" content=\"2024-08-21T21:18:36.7205003Z\" />\r\n<meta name=\"module\" content=\"ConfigurationManager\" />\r\n<meta name=\"ms.contentlocale\" content=\"zh-cn\" />\r\n<meta name=\"ms.translationtype\" content=\"MT\" />\r\n<meta name=\"name\" content=\"Set-CMSiteSystemServer\" />\r\n<meta name=\"notes\" content=\"\" />\r\n<meta name=\"schema\" content=\"PowershellCmdlet\" />\r\n<meta name=\"summary\" content=\"<p>配置站点系统服务器角色。</p>\n\" />\r\n<meta name=\"syntaxes\" content=\"Set-CMSiteSystemServer [-AccountName <String>] [-EnableProxy <Boolean>] [-FdmOperation <Boolean>]\n -InputObject <IResultObject> [-PassThru] [-ProxyAccessAccount <IResultObject>] [-ProxyServerName <String>]\n [-ProxyServerPort <UInt32>] [-PublicFqdn <String>] [-UseSiteServerAccount] [-DisableWildcardHandling]\n [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"syntaxes\" content=\"Set-CMSiteSystemServer [-AccountName <String>] [-EnableProxy <Boolean>] [-FdmOperation <Boolean>] [-PassThru]\n [-ProxyAccessAccount <IResultObject>] [-ProxyServerName <String>] [-ProxyServerPort <UInt32>]\n [-PublicFqdn <String>] [-SiteCode <String>] [-SiteSystemServerName] <String> [-UseSiteServerAccount]\n [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]\" />\r\n<meta name=\"uid\" content=\"ConfigurationManager.Set-CMSiteSystemServer\" />\r\n","themesRelativePathToOutputRoot":"_themes/"}