Import-CMAntimalwarePolicy

SYNOPSIS

Imports an antimalware policy for Endpoint Protection.

SYNTAX

Import-CMAntimalwarePolicy [-PassThru] [-Path] <String> [-NewName <String>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

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

EXAMPLES

Example 1: Import an antimalware policy

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

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

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ForceWildcardHandling

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-NewName

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PassThru

Returns the current working object. By default, this cmdlet does not generate any output.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Path

Type: String
Parameter Sets: (All)
Aliases: ImportFilePath

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

NOTES

Get-CMAntiMalwarePolicy

Set-CMAntiMalwarePolicy

New-CMAntimalwarePolicy

Remove-CMAntiMalwarePolicy

Export-CMAntimalwarePolicy

Merge-CMAntimalwarePolicy