Get-VvolStorageContainer

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

Syntax

[-Name  <String[]>]
[-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
    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
  • wildcards
  • pipeline
  • Filters the retrieved storage containers by array. You can retrieve the provider objects by using the Get-VasaStorageArray cmdlet.
    optional
    VasaProvider
    VasaProvider[] named
  • wildcards
  • pipeline
  • Filters the retrieved storage containers by provider. You can retrieve the provider objects by using the Get-VasaProvider cmdlet.

    -Id  <String[]>
    [-Server  <VIServer[]>]
    [CommonParameters]

    Parameters

    Required Parameter Name Type Position Features Description
    required
    Id
    String[] named Retrieves the vVol storage containers by ID.
    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.

    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

    Feedback

    Was this page helpful?