Get-LabVMStatus

SYNOPSIS

Gets the power state of lab machines

SYNTAX

Get-LabVMStatus [[-ComputerName] <String[]>] [-AsHashTable] [<CommonParameters>]

DESCRIPTION

Gets the power state of lab machines

EXAMPLES

Example 1

PS C:\> Get-LabVMStatus

Returns the status of al lab VMs

PARAMETERS

-AsHashTable

Convert the result into a hashtable with the machine names as keys

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-ComputerName

The machines to get the status from

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Object

NOTES