Get-VvolStorageContainer
This cmdlet retrieves the list of vVol storage containers that are reported by the registered VASA providers.
Syntax
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 |
|
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. |
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
optional | Name | String[] | named |
|
Filters the retrieved vVol storage containers by name. |
optional | ProgressAction | ActionPreference | named |
|
|
optional | Server | VIServer[] | named |
|
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 |
|
Filters the retrieved storage containers by array. You can retrieve the provider objects by using the Get-VasaStorageArray cmdlet. |
optional | VasaProvider | VasaProvider[] | named |
|
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.VvolStorageContainerExamples
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.