< Back

New-VasaProvider

Sun Jan 19, 2020 7:18 pm

NAME New-VasaProvider



SYNOPSIS

This cmdlet registers a VASA provider.





SYNTAX

New-VasaProvider [-Certificate <String>] [-Credential <PSCredential>] [-Description <String>] [-Force] -Name

<String> [-Password <SecureString>] [-Server <VIServer>] -Url <String> [-Username <String>] [-Confirm] [-WhatIf]

[<CommonParameters>]





DESCRIPTION

This cmdlet registers a VASA provider.





PARAMETERS

-Certificate <String>

Specifies the VASA provider certificate.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Credential <PSCredential>

Specifies credentials in the form of a PSCredential object. The Username and Password parameter pair is an

alternative to the Credential parameter. If sufficient information about user and password, or credential is

not specified, the cmdlet provides a credential prompt.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Description <String>

Specifies the description of the provider.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Force [<SwitchParameter>]

Forces the server to trust the provider and store the provider certificate for future reference. If not set,

the server throws error in case the provider certificate is not in the list of trusted certificates.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Specifies the name of the provider. The maximum length of the name is 80 characters. If not specified, a

default name based on the provider namespace and ID is used.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Password <SecureString>

Specifies the password for connecting to a provider. The maximum length of the password is 255 characters. The

Username and Password parameter pair is an alternative to the Credential parameter. If sufficient information

about user and password, or credential is not specified, the cmdlet provides a credential prompt. This

parameter is of type SecureString but it also accepts objects of type System.String.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? 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.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? true



-Url <String>

Specifies the URL of the VASA provider service.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Username <String>

Specifies the user name for connecting to a provider. The maximum length of the user name is 255 characters.

The Username and Password parameter pair is an alternative to the Credential parameter. If sufficient

information about user and password, or credential is not specified, the cmdlet provides a credential prompt.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

If the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false,

the cmdlet runs without asking for user confirmation.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Indicates that the cmdlet is run only to display the changes that would be made and actually no objects are

modified.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

The newly created VasaProvider object







NOTES









-------------------------- Example 1 --------------------------



New-VasaProvider -Name "MyProvider" -Username "UserName" -Password "Password" -Url "MyUrl"



Registers a VASA provider running at "MyUrl" with the Storage Monitoring Service.

-------------------------- Example 2 --------------------------



New-VasaProvider -Name "MyProvider" -Credential "MyCredential" -Url "MyUrl" -Force



Registers a VASA provider by using the "MyCredential" credential and forcing the Storage Monitoring Service to

accept the certificate of the provider.



RELATED LINKS

Online Version: https://code.vmware.com/doc/preview?id= ... vider.html

Get-VasaProvider

Remove-VasaProvider