Get-SCAvailabilitySetName
Get-SCAvailabilitySetName
Gets the names of availability sets associated with virtual machines or computer tier configurations.
Syntax
Parameter Set: Default
Get-SCAvailabilitySetName [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Detailed Description
The Get-SCAvailabilitySetName cmdlet gets the names of availability sets that are associated with virtual machines or computer tier configurations.
You can specify availability set names in a virtual machine configuration or a computer tier template.
Parameters
-VMMServer<ServerConnection>
Specifies a VMM server object.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
- String[]
Examples
1: Get the names of all availability sets on a specified VMM management server.
This command gets all the names of availability sets on VMMServer01.
PS C:\> Get-SCAvailabilitySetName -VMMServer "VMMServer01"