Skip to content

Get-vRABlockDevice

SYNOPSIS

Retrieve vRA Block Device(s)[Hard Disks] depending on input

SYNTAX

Standard (Default)

Get-vRABlockDevice [<CommonParameters>]

ById

Get-vRABlockDevice -Id <String[]> [<CommonParameters>]

ByName

Get-vRABlockDevice -Name <String[]> [<CommonParameters>]

DESCRIPTION

Retrieve a list of vRA Block Devices or a single Block Device depending on input

EXAMPLES

EXAMPLE 1

Get-vRABlockDevice

EXAMPLE 2

Get-vRABlockDevice -Id 'b1dd48e71d74267559bb930934470'

EXAMPLE 3

Get-vRABlockDevice -Name 'my-disk'

PARAMETERS

-Id

The ID of the vRA Block Device

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 Block Device

Type: String[]
Parameter Sets: ByName
Aliases:

Required: True
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