Gets the compliance status of computers managed by VMM.
Description
The Get-SCComplianceStatus cmdlet gets the compliance status object of one or more computers managed by System Center Virtual Machine Manager (VMM). The returned compliance status provides details on the compliance against assigned baselines.
For more information about Get-SCComplianceStatus, type: "Get-Help Get-SCComplianceStatus -online".
Parameters
All
Required?
false
Accept Pipeline Input?
false
Position?
named
Retrieves a full list of all subordinate objects independent of the parent object. For example, the command Get-SCVirtualDiskDrive -All retrieves all virtual disk drive objects regardless of the virtual machine object or template object that each virtual disk drive object is associated with.
VMMServer
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM server object.
VMMManagedComputer
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies a computer object that is managed by VMM.
The first command gets the host object named VMHost01 and stores the object in the $VMHost variable.
The second command gets the compliance status object for the host stored in $VMHost01 and stores the object in the $Compliance variable.
The last command displays information about the compliance status of VMHost01 to the user.