Export (0) Print
Expand All
Expand Minimize

Import-CMAntimalwarePolicy

Updated: February 7, 2014

Applies To: System Center 2012 R2 Configuration Manager

Import-CMAntimalwarePolicy

Imports an antimalware policy for Endpoint Protection.

Syntax

Parameter Set: Import
Import-CMAntimalwarePolicy -ImportFilePath <String> [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Import-CMAntimalwarePolicy cmdlet imports antimalware policies for System Center 2012 Endpoint Protection. When you enable Endpoint Protection, Microsoft System Center 2012 Configuration Manager applies a default antimalware policy to client computers. System Center 2012 Configuration Manager supplies a selection of predefined antimalware policy templates. You can import into these predefined templates into System Center 2012 Configuration Manager and assign them to System Center 2012 Configuration Manager client computers in your hierarchy. These templates are available in the folder <ConfigMgr Install Folder>\AdminConsole\XMLStorage\EPTemplates.

Parameters

-ImportFilePath<String>

Specifies the Universal Naming Convention (UNC) path of the policy file to import.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

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: Import an antimalware policy

This command imports the antimalware policy from the file named SCEP12_Standard_Desktop.xml.


PS C:\> Import-CMAntimalwarePolicy -ImportFilePath "\\Contosofs01\Mid\SCEP12_Standard_Desktop.xml"

Related topics

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