PowerCLI Reference

Get-VasaProvider

Synopsis

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

Syntax

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

Get-VasaProvider -Id <String[]> [-Refresh] [-Server <VIServer[]>] [<CommonParameters>]

Related Commands

Online version
New-VasaProvider
Remove-VasaProvider

Detailed Description

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

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Filters the retrieved providers by name.falsefalse
IdString[]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.
truefalse
RefreshSwitchParameterSynchronizes the providers before retrieving data. The operation is synchronous.falsefalse
ServerVIServer[]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.falsetrue (ByValue)

Return Type

Zero or more VasaProvider objects

Notes

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 ID set to "MyProviderId".


Copyright © VMware, Inc. All rights reserved.