Get-VasaProvider Command | Vmware PowerCLI Reference

Get-VasaProvider

This cmdlet retrieves the list of VASA providers that are currently registered with Storage Manager.

Syntax

Get-VasaProvider
[-Name < String[] > ]
[-Refresh ]
[-Server < VIServer[] > ]
[-StorageContainer < VvolStorageContainer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional Name String[] named
  • wildcards
Filters the retrieved providers by name.
optional Refresh SwitchParameter named
Synchronizes the providers before retrieving data. The operation is synchronous.
optional Server VIServer[] named
  • pipeline
  • 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 StorageContainer VvolStorageContainer[] named
  • wildcards
Filters the retrieved VASA providers by the Virtual Volume (vVol) storage containers. You can retrieve the storage container objects by using the Get-VvolStorageContainer cmdlet.
Get-VasaProvider
-Id < String[] >
[-Refresh ]
[-Server < VIServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Id String[] named
Filters the retrieved providers 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 Refresh SwitchParameter named
Synchronizes the providers before retrieving data. The operation is synchronous.
optional Server VIServer[] named
  • pipeline
  • 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.VasaProvider

Examples

Example 1

Get-VasaProvider -Name "MyProvider"

Retrieves all VASA providers named "MyProvider".

Example 2

Get-VasaProvider -Name "MyProvider" -Refresh

Synchronizes the providers and retrieves the VASA provider named "MyProvider".

Example 3

Get-VasaProvider -Id "MyProviderId"

Retrieves all VASA providers with an ID set to "MyProviderId".

Related Commands

VasaProvider

This cmdlet retrieves the list of VASA providers that are currently registered with Storage Manager.

This cmdlet registers a VASA provider.

This cmdlet unregisters the specified VASA providers.

VasaStorageArray

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