Get-SCCodeIntegrityPolicy
获取代码完整性策略。
语法
Get-SCCodeIntegrityPolicy
[-VMMServer <ServerConnection>]
[-All]
[<CommonParameters>]
Get-SCCodeIntegrityPolicy
-Name <String>
[-VMMServer <ServerConnection>]
[<CommonParameters>]
Get-SCCodeIntegrityPolicy
[-VMMServer <ServerConnection>]
[-ID <Guid>]
[<CommonParameters>]
说明
Get-SCCodeIntegrityPolicy cmdlet 在 Virtual Machine Manager (VMM) 中获取代码完整性策略。
参数
-All
指示此 cmdlet 获取与父对象无关的所有从属对象。
例如,该命令 Get-SCVirtualDiskDrive -All
获取所有虚拟磁盘驱动器对象,而不考虑每个虚拟磁盘驱动器对象关联的虚拟机对象或模板对象。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ID
将数字标识符指定为特定对象的全局唯一标识符或 GUID。
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
指定要获取的代码完整性策略的名称。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VMMServer
指定VMM 服务器对象。
Type: | ServerConnection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |