Get-SCAvailabilitySetName
Get-SCAvailabilitySetName
Gets the names of availability sets associated with virtual machines or computer tier configurations.
構文
Parameter Set: Default
Get-SCAvailabilitySetName [-VMMServer <ServerConnection> ] [ <CommonParameters>]
詳細説明
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.
パラメーター
-VMMServer<ServerConnection>
Specifies a VMM server object.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- String[]
例
Example 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"