Remove-SCCodeIntegrityPolicy

Removes a code integrity policy.

Syntax

Remove-SCCodeIntegrityPolicy -CodeIntegrityPolicy <CodeIntegrityPolicy> [-Force] [-JobVariable <String>]
 [-PROTipID <Guid>] [-RunAsynchronously] [<CommonParameters>]

Description

The Remove-SCCodeIntegrityPolicy cmdlet removes a code integrity policy from Virtual Machine Manager (VMM).

Parameters

-CodeIntegrityPolicy

Specifies the code integrity policy to remove.

Type:CodeIntegrityPolicy
Required:True
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Force

Forces the command to run without asking for user confirmation.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-JobVariable

Specifies a variable in which job progress is tracked and stored.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PROTipID

Specifies the ID of the Performance and Resource Optimization tip (PRO tip) that triggered this action. This parameter lets you audit PRO tips.

Type:Guid
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RunAsynchronously

Indicates that the job runs asynchronously so that control returns to the command shell immediately.

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