Set-CMEndpointProtectionPoint
Set-CMEndpointProtectionPoint
Modifies a site system role for Endpoint Protection.
構文
Parameter Set: SetByName
Set-CMEndpointProtectionPoint -ProtectionService <MapsMembershipType> {AdvancedMembership | BasicMembership | DoNotJoinMaps} -SiteCode <String> -SiteSystemServerName <String> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: SetByValue
Set-CMEndpointProtectionPoint -InputObject <IResultObject> -ProtectionService <MapsMembershipType> {AdvancedMembership | BasicMembership | DoNotJoinMaps} [-Confirm] [-WhatIf] [ <CommonParameters>]
詳細説明
The Set-CMEndpointProtectionPoint cmdlet modifies a site system role for System Center 2012 Endpoint Protection in Microsoft System Center 2012 Configuration Manager.
Endpoint Protection lets you manage antimalware policies and Windows Firewall security for client computers in System Center 2012 Configuration Manager. In order to use Endpoint Protection with System Center 2012 Configuration Manager, you must install a single site system role for Endpoint Protection, either in the central site or in a stand-alone primary site. For more information about Endpoint Protection in System Center 2012 Configuration Manager, see the Endpoint Protection in Configuration Manager (https://go.microsoft.com/fwlink/?LinkId=268427) on TechNet.
パラメーター
-InputObject<IResultObject>
Specifies an input object. To obtain an input object, use the Get-CMEndpointProtectionPoint cmdlet.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-ProtectionService<MapsMembershipType>
Specifies the type of membership to set for Microsoft Active Protection Service (MAPS). Valid values are:
-- AdvancedMembership
-- BasicMembership
-- DoNotJoinMaps
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SiteCode<String>
Specifies the site code for a Configuration Manager site.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SiteSystemServerName<String>
Specifies the name of a server that hosts a site system role.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Confirm
コマンドレットを実行する前に、ユーザーに確認を求めます。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-WhatIf
コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
Example 1: Set an endpoint protection point
The command sets the endpoint protection point for the server, and specifies the membership type for the ProtectionService parameter.
PS C:\> Set-CMEndpointProtectionPoint -SiteSystemServerName "CM-Contoso.Contoso.Com" -SiteCode "CM2" -ProtectionService AdvancedMembership
Example 2: Set an endpoint protection point by using an input object
The first command uses the Get-CMEndpointProtectionPoint cmdlet to get an endpoint protection point, and stores the result in the $Epp variable.
The second command sets the endpoint protection point for the server by using the input object from the previous command.
PS C:\> $Epp = Get-CMEndpointProtectionPoint -SiteSystemServerName "CM-Contoso.Contoso.Com" -SiteCode "CM2"
PS C:\> Set-CMEndpointProtectionPoint -InputObject $Epp -ProtectionService BasicMembership