Add-CMEndpointProtectionPoint
为 Endpoint Protection 添加站点系统角色。
语法
Add-CMEndpointProtectionPoint
-InputObject <IResultObject>
[-LicenseAgreed <Boolean>]
-ProtectionService <MapsMembershipType>
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Add-CMEndpointProtectionPoint
[-LicenseAgreed <Boolean>]
-ProtectionService <MapsMembershipType>
[-SiteCode <String>]
[-SiteSystemServerName] <String>
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
说明
Add-CMEndpointProtectionPoint cmdlet 将 System Center 2016 Endpoint Protection 的站点系统角色添加到 Configuration Manager 站点。
Endpoint Protection 允许在 Configuration Manager 中管理客户端计算机的反恶意软件策略和 Windows 防火墙安全性。 若要将 Endpoint Protection 与 Configuration Manager 配合使用,必须在中心站点或独立主站点中安装 Endpoint Protection 的单个站点系统角色。 有关 Configuration Manager 中的 Endpoint Protection 的详细信息,请参阅 Configuration Manager 中的 Endpoint Protection。
注意
从 Configuration Manager 站点驱动器运行 Configuration Manager cmdlet,例如 PS XYZ:\>。 有关详细信息,请参阅 入门。
示例
示例 1:添加站点系统角色
PS XYZ:\>Add-CMEndpointProtectionPoint -LicenseAgreed $True -ProtectionService BasicMembership -SiteCode "CM1" -SiteSystemServerName "CMEPPoint.Western.Contoso.com"
此命令为具有站点代码 CM1 的站点添加 Endpoint Protection 点。 指定的计算机承载角色。 命令还指定你接受许可协议的条款,并具有 Endpoint Protection 的基本成员身份。
参数
-Confirm
提示你在运行 cmdlet 之前进行确认。
| 类型: | SwitchParameter |
| 别名: | cf |
| Position: | Named |
| 默认值: | False |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-DisableWildcardHandling
此参数将通配符视为文本字符值。 不能将其与 ForceWildcardHandling 组合使用。
| 类型: | SwitchParameter |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-ForceWildcardHandling
此参数处理通配符,并可能导致意外行为, (不建议) 。 不能将其与 DisableWildcardHandling 组合使用。
| 类型: | SwitchParameter |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-InputObject
指定此 cmdlet 的输入。 可以使用此参数,也可以通过管道将输入传递给此 cmdlet。
| 类型: | IResultObject |
| 别名: | SiteServer |
| Position: | Named |
| 默认值: | None |
| 必需: | True |
| 接受管道输入: | True |
| 接受通配符: | False |
-LicenseAgreed
指定是否同意 Endpoint Protection 软件许可条款。
| 类型: | Boolean |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-ProtectionService
指定 Microsoft Active Protection Service (MAPS) 的成员身份类型。 有效值包含:
- AdvancedMembership
- BasicMembership
- DoNotJoinMaps
| 类型: | MapsMembershipType |
| 接受的值: | DoNotJoinMaps, BasicMembership, AdvancedMembership |
| Position: | Named |
| 默认值: | None |
| 必需: | True |
| 接受管道输入: | False |
| 接受通配符: | False |
-SiteCode
指定 Configuration Manager 站点的站点代码。
| 类型: | String |
| Position: | Named |
| 默认值: | None |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
-SiteSystemServerName
指定承载站点系统角色的服务器的名称。
| 类型: | String |
| 别名: | Name, ServerName |
| Position: | 0 |
| 默认值: | None |
| 必需: | True |
| 接受管道输入: | False |
| 接受通配符: | False |
-WhatIf
显示在 cmdlet 运行时发生的情况。 cmdlet 不会运行。
| 类型: | SwitchParameter |
| 别名: | wi |
| Position: | Named |
| 默认值: | False |
| 必需: | False |
| 接受管道输入: | False |
| 接受通配符: | False |
输入
Microsoft.ConfigurationManagement.ManagementProvider.IResultObject
输出
IResultObject