Get-CMAntiMalwarePolicy

Get-CMAntiMalwarePolicy

Gets antimalware policies for Endpoint Protection.

構文

Parameter Set: SearchByName
Get-CMAntiMalwarePolicy [-Name <String> ] [-Policy {Advanced | DefaultActions | DefinitionUpdates | ExclusionSettings | MicrosoftActiveProtectionService | RealTimeProtection | ScanSettings | ScheduledScans | ThreatOverrides}[] ] [-SecuredScopeNames <String> ] [ <CommonParameters>]

Parameter Set: SearchByIdMandatory
Get-CMAntiMalwarePolicy -Id <String> [-Policy {Advanced | DefaultActions | DefinitionUpdates | ExclusionSettings | MicrosoftActiveProtectionService | RealTimeProtection | ScanSettings | ScheduledScans | ThreatOverrides}[] ] [-SecuredScopeNames <String> ] [ <CommonParameters>]

詳細説明

The Get-CMAntiMalwarePolicy cmdlet gets the antimalware policies for System Center 2012 Endpoint Protection that apply to collections of client computers that are running the Microsoft System Center 2012 Configuration Manager agent. Antimalware policies are configuration settings that define how an antimalware agent operates on client computers.

パラメーター

-Id<String>

Specifies the identity of an antimalware policy object.

エイリアス

SettingsId

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-Name<String>

Specifies the name of an antimalware policy.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-Policy<PolicyType[]>

Specifies an array of policy settings for antimalware. Valid values are:

-- Advanced
-- DefaultActions
-- DefinitionUpdates
-- ExclusionSettings
-- MicrosoftActiveProtectionService
-- RealTimeProtection
-- ScanSettings
-- ThreatOverrides

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-SecuredScopeNames<String>

Specifies the names of secured scopes.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

Example 1: Get all antimalware policies

This command gets all antimalware policies for Endpoint Protection in Configuration Manager.

PS C:\> Get-CMAntiMalwarePolicy

Example 2: Get antimalware policies by using a wildcard

This command gets antimalware policies that have a name that begins with the letter D.

PS C:\> Get-CMAntiMalwarePolicy -Name D*

Example 3: Get antimalware policies by using an object ID

This command gets the antimalware policy that has the ID 16777217.

PS C:\> Get-CMAntiMalwarePolicy -Id "16777217"

関連トピック

New-CMAntimalwarePolicy

Set-CMAntiMalwarePolicy

Export-CMAntimalwarePolicy

Import-CMAntimalwarePolicy

Merge-CMAntimalwarePolicy

Remove-CMAntiMalwarePolicy