Export (0) Print
Expand All
Expand Minimize

Get-CMAntiMalwarePolicy

Updated: September 1, 2013

Applies To: System Center 2012 Configuration Manager SP1

Get-CMAntiMalwarePolicy

Gets antimalware policies for Endpoint Protection.

Syntax

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>]




Detailed Description

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.

Parameters

-Id<String>

Specifies the identity of an antimalware policy object.


Aliases

SettingsId

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String>

Specifies the name of an antimalware policy.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Policy<PolicyType[]>

Specifies an array of policy settings for antimalware. For information about antimalware policy settings, see "SMS_AntimalwareConfig Server WMI Class" in the System Center 2012 Configuration Manager SDK.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SecuredScopeNames<String>

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

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"

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft