Add-CMCertificateRegistrationPoint  
将证书注册点角色添加到站点系统服务器。
语法
Add-CMCertificateRegistrationPoint
   -Certificate <Hashtable>
   [-ConnectionAccountUserName <String>]
   [-IisWebsite <String>]
   -InputObject <IResultObject>
   [-Port <Int32>]
   [-WebApplicationName <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]  
	Add-CMCertificateRegistrationPoint
   -Certificate <Hashtable>
   [-ConnectionAccountUserName <String>]
   [-IisWebsite <String>]
   [-Port <Int32>]
   [-SiteCode <String>]
   [-SiteSystemServerName] <String>
   [-WebApplicationName <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]  
	说明
Add-CMCertificateRegistrationPoint cmdlet 将证书注册点角色添加到站点系统服务器。
注意
从 Configuration Manager 站点驱动器运行 Configuration Manager cmdlet,例如 PS XYZ:\>。 有关详细信息,请参阅 入门。
示例
示例 1:使用管道添加证书注册点角色
PS XYZ:\> Get-CMSitesystemserver -SiteSystemServerName "SiteSystemServer01.Contoso.com" | Add-CMCertificateRegistrationPoint -Certificate @{"https://www.ndes1.fabrikam.com/certsrv/mscep/mscep.dll"="\\Server\Sharefolder\RootCA.cer"}
	此命令获取名为 SiteSystemServer01.Contoso.com 的站点系统服务器对象,并使用管道运算符将该对象传递给 Add-CMCertificateRegistrationPoint,后者会将证书注册点角色添加到站点系统服务器。
示例 2:按名称添加证书注册点角色
PS XYZ:\> Add-CMCertificateRegistrationPoint -SiteSystemServerName "SiteSystemServer02.Contoso.com" -Certificate @{"https://www.ndes1.fabrikam.com/certsrv/mscep/mscep.dll"="\\Server\Sharefolder\RootCA.cer"} -ConnectionAccountUserName (Get-CMUser -Name Contoso\User01).UserName -IisWebsite "TestWebsite01" -WebApplicationName "TestWebApp01" -Port 443 -Sitecode SC3
	此命令将站点系统服务器角色添加到名为 SiteSystemServer02.Contoso.com 的站点系统服务器,指定在将认证注册点连接到 Configuration Manager 数据库时要使用的用户帐户。
参数
-Certificate
指定网络设备注册服务的 URL 和根 CA 证书作为哈希表。
| 类型: | Hashtable | 
| 别名: | Certificates | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | True | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-Confirm
提示你在运行 cmdlet 之前进行确认。
| 类型: | SwitchParameter | 
| 别名: | cf | 
| Position: | Named | 
| 默认值: | False | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-ConnectionAccountUserName
指定将认证注册点连接到 Configuration Manger 数据库的帐户。
| 类型: | String | 
| 别名: | UserName | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-DisableWildcardHandling
此参数将通配符视为文本字符值。 不能将其与 ForceWildcardHandling 组合使用。
| 类型: | SwitchParameter | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-ForceWildcardHandling
此参数处理通配符,并可能导致意外行为, (不建议) 。 不能将其与 DisableWildcardHandling 组合使用。
| 类型: | SwitchParameter | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-IisWebsite
指定证书注册点使用的网站名称。
| 类型: | String | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-InputObject
指定 Configuration Manager 站点系统服务器对象。 若要获取站点系统服务器对象,请使用 Get-CMSiteSystemServer cmdlet。
| 类型: | IResultObject | 
| 别名: | SiteServer | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | True | 
| 接受管道输入: | True | 
| 接受通配符: | False | 
-Port
指定证书注册点用于与网络设备注册服务通信的 HTTPS 端口号。
| 类型: | Int32 | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-SiteCode
指定 Configuration Manager 站点服务器的站点代码。
| 类型: | String | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-SiteSystemServerName
指定 Configuration Manager 站点系统服务器的名称。
| 类型: | String | 
| 别名: | Name, ServerName | 
| Position: | 0 | 
| 默认值: | None | 
| 必需: | True | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-WebApplicationName
指定证书注册点使用的 Web 应用程序名称。
| 类型: | String | 
| Position: | Named | 
| 默认值: | None | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
-WhatIf
显示在 cmdlet 运行时发生的情况。 cmdlet 不会运行。
| 类型: | SwitchParameter | 
| 别名: | wi | 
| Position: | Named | 
| 默认值: | False | 
| 必需: | False | 
| 接受管道输入: | False | 
| 接受通配符: | False | 
输入
Microsoft.ConfigurationManagement.ManagementProvider.IResultObject
输出
System.Object