## 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

Name | Type | Description | Required? | Pipeline Input | Default Value
--- | --- | --- | --- | --- | ---
Name | String[] | Filters the retrieved providers by name. | false | false
Id | String[] | 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. | true | false
Refresh | SwitchParameter | Synchronizes the providers 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)

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.