Set-SCCodeIntegrityPolicy

Modifies a code integrity policy.

Syntax

Set-SCCodeIntegrityPolicy -CodeIntegrityPolicy <CodeIntegrityPolicy> [-JobVariable <String>] [-Name <String>]
 [-PROTipID <Guid>] [-Path <String>] [-RunAsynchronously] [<CommonParameters>]

Description

The Set-SCCodeIntegrityPolicy cmdlet modifies a code integrity policy in Virtual Machine Manager (VMM).

Parameters

-CodeIntegrityPolicy

Specifies the code integrity policy to modify.

Type:CodeIntegrityPolicy
Required:True
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
-Name

Specifies the name of the code integrity policy to modify.

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

Specifies the destination path for the operation.

Example formats:

- Local path: -Path "F:\"

  • UNC path: -Path "\\Library\Templates"
  • Volume GUID path: -Path "\\?\Volume{4703c1ea-8ae7-11db-b473-00123f7603e3}\"
  • VMware ESX path: -Path "\[storage1\]\MyVMwareFolderForVMs\MyVM.vmx"
  • Citrix XenServer path: -Path "Local storage\[99b6212f-b63d-c676-25f9-d6c460992de7\]"

Type:String
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