Export (0) Print
Expand All
Expand Minimize

Unblock-CMThreat

Updated: September 1, 2013

Applies To: System Center 2012 Configuration Manager SP1

Unblock-CMThreat

Unblocks a threat.

Syntax

Parameter Set: SearchByNameMandatoryForAllowThreat
Unblock-CMThreat -CollectionName <String> -ThreatName <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByIdMandatoryForAllowThreat
Unblock-CMThreat -CollectionId <String> -ThreatId <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByIdMandatoryForRestoreFiles
Unblock-CMThreat -ApplyAMPolicy <Boolean> -CollectionId <String> -ThreatId <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByNameMandatoryForRestoreFiles
Unblock-CMThreat -ApplyAMPolicy <Boolean> -CollectionName <String> -ThreatName <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByValueMandatoryForAllowThreat
Unblock-CMThreat -InputObject <IResultObject> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByValueMandatoryForRestoreFiles
Unblock-CMThreat -ApplyAMPolicy <Boolean> -InputObject <IResultObject> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Unblock-CMThreat cmdlet unblocks a threat.

Parameters

-ApplyAMPolicy<Boolean>

Indicates whether to apply anti-malware policy.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-CollectionId<String>

Specifies a collection ID associated with a threat.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-CollectionName<String>

Specifies a name of a collection associated with a threat.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Force

Performs the action without a confirmation message.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-InputObject<IResultObject>

Specifies a CMThreat object.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ThreatId<String>

Specifies an ID of a threat.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ThreatName<String>

Specifies a threat name.


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: Unblock a threat

This command unblocks a threat that Configuration Manager identifies by collection name and threat name.


PS C:\> Unblock-CMThreat -CollectionName "Coll01" -ThreatName "Threat01"
 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft