## PowerCLI Reference

# Get-VasaStorageArray

## Synopsis

This cmdlet retrieves the list of storage arrays managed by registered VASA providers.

Syntax

Get-VasaStorageArray [[-Name] <String[]>] [-VasaProvider <VasaProvider[]>] [-Refresh] [-Server <VIServer[]>] [<CommonParameters>]
Get-VasaStorageArray -Id <String[]> [-Refresh] [-Server <VIServer[]>] [<CommonParameters>]
Get-VasaStorageArray [-Lun <ScsiLun[]>] [-Refresh] [-Server <VIServer[]>] [<CommonParameters>]

Related Commands

Online version

Detailed Description

This cmdlet retrieves the list of storage arrays managed by registered VASA providers.

Parameters

Name | Type | Description | Required? | Pipeline Input | Default Value
--- | --- | --- | --- | --- | ---
Name | String[] | Filters the retrieved storage arrays by name. | false | false
Id | String[] | Filters the retrieved storage arrays 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. | true | false
Lun | ScsiLun[] | 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. | false | false
Refresh | SwitchParameter | Synchronizes the storage arrays before retrieving data. The operation is synchronous. | false | false
Server | VIServer[] | 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 Connect-VIServer. | false | true (ByValue)
VasaProvider | VasaProvider[] | 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. | false | true (ByValue)

Return Type

Zero or more VasaStorageArray objects

Notes

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".

Copyright © VMware, Inc. All rights reserved.