Get-LWHypervVM
SYNOPSIS
Get all VMs running on a Hyper-V
SYNTAX
Get-LWHypervVM [[-Name] <String[]>] [[-DisableClusterCheck] <Boolean>] [-NoError] [<CommonParameters>]
DESCRIPTION
Get all VMs running on a Hyper-V
EXAMPLES
Example 1
PS C:\> Get-LWHypervVM -DisableClusterCheck $true
Get machines on a cluster node locally, bypassing the check for clustering to speed up the cmdlet.
PARAMETERS
-DisableClusterCheck
Default when not in cluster, speed up the cmdlet calls by not checking each time
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Name
Names of the VMs to retrieve.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-NoError
Indicates that the cmdlet should not throw but return $null
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
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.