Open-VaultConnection
Opens a connection to the vault that is stated in the parameters.
powerJobs extends the powerVault Open-VaultConnection cmdlet with additional functionality (e.g. it loads the JobProcessor.exe.config, special login for JobProcessor, $vaultExplorerUtil
variable).
Syntax
1 | Open-VaultConnection [-Vault <string>] [-Server <string>] [-User <string>] [-Password <string>] <CommonParameters>]
|
Parameters
Type |
Name |
Description |
Default value |
Optional |
---|---|---|---|---|
String |
Vault |
The name of the vault for which the connection should be made |
Vault |
yes |
String |
Server |
The Ip or hostname of the server on which the vault server is installed |
localhost |
yes |
String |
User |
A valid user, that is able to login to the target vault |
Administrator |
yes |
String |
Password |
The users password |
|
yes |
Return type
empty <- On failure the Exception/ErrorMessage can be accessed using $Error
Remarks
In order to debug a job the following powershell variables can be used when the cmdlet is able to successfully establish a connection to Vault: