This is an archive version of the document. To get the most up-to-date information, see the current version.

Adding Credentials Parameter to Your Script

You may add multiple custom parameters of the Credentials type. To pass the credentials to the script, VAO uses the following parameter name convention.

In the script file, a parameter with the Credentials type will split into 2 parameters: the first one will contain a user name and the second one will contain a password. For example, if you add a credential parameter named SQLCreds, VAO will pass it to the script as $SQLCredsUsername and $SQLCredsPassword.

Param(

 [string]$SQLCredsUsername,

 [string]$SQLCredsPassword

)

 

Adding Credentials Parameter to Your Script Important!

The statement must contain a comma-separated list of variables prefixed with a data type. Default values are optional.

I want to report a typo

There is a misspelling right here:

 

I want to let the Veeam Documentation Team know about that.