Get-SCAvailabilitySetName

Gets the names of availability sets associated with virtual machines or computer tier configurations.

Syntax

Get-SCAvailabilitySetName
   [-VMMServer <ServerConnection>]
   [<CommonParameters>]

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.

Examples

Example 1: Get the names of all availability sets on a specified VMM management server

PS C:\> Get-SCAvailabilitySetName -VMMServer "VMMServer01"

This command gets all the names of availability sets on VMMServer01.

Parameters

-VMMServer

Specifies a Virtual Machine Manager (VMM) server object.

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

Outputs

String[]

This cmdlet returns an array of String objects.