Skip to content

Get-vRAMachineDisk

SYNOPSIS

Retrieve a vRA Machine's Disks

SYNTAX

ByName (Default)

Get-vRAMachineDisk -Name <String> [-DiskId <String[]>] [<CommonParameters>]

ById

Get-vRAMachineDisk -Id <String> [-DiskId <String[]>] [<CommonParameters>]

DESCRIPTION

Retrieve the disks for a vRA Machine

EXAMPLES

EXAMPLE 1

Get-vRAMachineDisk -Id 'b1dd48e71d74267559bb930934470'

EXAMPLE 2

Get-vRAMachineDisk -Name 'iaas01'

EXAMPLE 3

GET-vRAMachineDisk -Name 'iaas01' -DiskId b1dd48e71d74267559bb930919aa8,b1dd48e71d74267559bb930915840

PARAMETERS

-Id

The ID of the vRA Machine

Type: String
Parameter Sets: ById
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Name

The Name of the vRA Machine

Type: String
Parameter Sets: ByName
Aliases:

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

-DiskId

The Id of the individual Disk to retrieve

Type: String[]
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.

INPUTS

OUTPUTS

System.Management.Automation.PSObject.

NOTES