Get-LWAzureVMStatus

SYNOPSIS

Returns the power state of a lab's Azure VMs

SYNTAX

Get-LWAzureVMStatus [-ComputerName] <String[]> [<CommonParameters>]

DESCRIPTION

Returns the power state of a lab's Azure VMs

EXAMPLES

Example 1

PS C:\> Get-LWAzureVMStatus -ComputerName HostA,HostB

Returns the power state of HostA and HostB

PARAMETERS

-ComputerName

The machine names to get the power state from

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

Required: True
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