Get-VvolStorageContainer Command | Vmware PowerCLI Reference

Get-VvolStorageContainer

This cmdlet retrieves the list of vVol storage containers that are reported by the registered VASA providers.

Syntax

Get-VvolStorageContainer
-Id < String[] >
[-ProgressAction < ActionPreference > ]
[-Server < VIServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Id String[] named
Retrieves the vVol storage containers by ID. Note: When a list of values is specified for the Id parameter, the returned objects would have an ID that matches exactly one of the string values in that list.
optional ProgressAction ActionPreference named
optional Server VIServer[] named
  • wildcards
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet.
Get-VvolStorageContainer
[-Name < String[] > ]
[-ProgressAction < ActionPreference > ]
[-Server < VIServer[] > ]
[-StorageArray < VasaStorageArray[] > ]
[-VasaProvider < VasaProvider[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional Name String[] named
  • wildcards
Filters the retrieved vVol storage containers by name.
optional ProgressAction ActionPreference named
optional Server VIServer[] named
  • wildcards
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet.
optional StorageArray VasaStorageArray[] named
  • pipeline
  • wildcards
Filters the retrieved storage containers by array. You can retrieve the provider objects by using the Get-VasaStorageArray cmdlet.
optional VasaProvider VasaProvider[] named
  • pipeline
  • wildcards
Filters the retrieved storage containers by provider. You can retrieve the provider objects by using the Get-VasaProvider cmdlet.

Output

VMware.VimAutomation.Storage.Types.V1.Sms.VvolStorageContainer

Examples

Example 1

Get-VvolStorageContainer -Name "MyStorageContainer"

Retrieves all vVol storage containers named "MyStorageContainer".

Example 2

Get-VvolStorageContainer -VasaProvider "MyProvider"

Retrieves all vVol storage containers reported by the VASA provider named "MyProvider".

Example 3

Get-VvolStorageContainer -Id "MyStorageContainerId"

Retrieves all vVol storage containers with an ID set to "MyStorageContainerId".

Related Commands

VvolStorageContainer

This cmdlet retrieves the list of Virtual Volume (vVol) storage containers that are reported by the registered VASA providers.