Get-VasaStorageArray
This cmdlet retrieves the list of storage arrays managed by registered VASA providers.
Syntax
[-Name
<String[]>]
[-Refresh]
[-Server <VIServer[]>]
[-StorageContainer <VvolStorageContainer[]>]
[-VasaProvider <VasaProvider[]>]
[CommonParameters]
[-Refresh]
[-Server <VIServer[]>]
[-StorageContainer <VvolStorageContainer[]>]
[-VasaProvider <VasaProvider[]>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
optional |
|
String[] | named |
|
Filters the retrieved storage arrays by name. | optional |
|
SwitchParameter | named |
|
Synchronizes the storage arrays before retrieving data. The operation is synchronous. | optional |
|
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 |
|
VvolStorageContainer[] | named |
|
Filters the retrieved storage arrays by the Virtual Volume (vVol) storage containers. You can retrieve the storage container objects by using the Get-VvolStorageContainer cmdlet. | optional |
|
VasaProvider[] | named |
|
Filters the retrieved storage arrays by provider. If not specified, all storage arrays are retrieved. You can retrieve the provider objects by using the Get-VasaProvider cmdlet. |
-Id
<String[]>
[-Refresh]
[-Server <VIServer[]>]
[CommonParameters]
[-Refresh]
[-Server <VIServer[]>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
String[] | named |
|
Retrieves all storage arrays with an ID set to "MyArrayId". 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 |
|
SwitchParameter | named |
|
Synchronizes the storage arrays before retrieving data. The operation is synchronous. | optional |
|
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. |
[-Lun
<ScsiLun[]>]
[-Refresh]
[-Server <VIServer[]>]
[CommonParameters]
[-Refresh]
[-Server <VIServer[]>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
optional |
|
ScsiLun[] | named |
|
Filters the retrieved storage arrays by LUN. If not specified, all storage arrays are retrieved. You can retrieve LUN objects by using the Get-ScsiLun cmdlet. | optional |
|
SwitchParameter | named |
|
Synchronizes the storage arrays before retrieving data. The operation is synchronous. | optional |
|
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. |
Output
VMware.VimAutomation.Storage.Types.V1.Sms.VasaStorageArray
Examples
Example 1
Get-VasaStorageArray -Name "MyArray" -Refresh
Synchronizes the providers and retrieves the storage array named "MyArray".
Example 2
Get-VasaStorageArray -Id "MyArrayId"
Retrieves all storage arrays with ID set to "MyArrayId".
Related Commands
VasaProvider
This cmdlet retrieves the list of VASA providers that are currently registered with Storage Manager.
This cmdlet unregisters the specified VASA providers.
This cmdlet registers a VASA provider.
VasaStorageArray
This cmdlet retrieves the list of storage arrays managed by registered VASA providers.