Connects to Veeam backup server.
This cmdlet provides three parameter sets.
- To connect as a current user:
Connect-VBRServer [-Server <string>] [-Port <int>] [<CommonParameters>]
- To connect using credentials:
Connect-VBRServer -User <string> -Password <string> [-Server <string>] [-Port <int>] [<CommonParameters>]
- To connect using PSCredential:
Connect-VBRServer -Credential <pscredential> [-Server <string>] [-Port <int>] [<CommonParameters>]
This cmdlet creates connection with a local or remote Veeam backup server. The connection starts a Veeam PowerShell session during which you can perform all operations available with Veeam PowerShell.
If you do not specify the server, you connect to the local Veeam backup server.
Within one session, you can connect to one Veeam server. To connect to another Veeam server, you need to close the current session. Run Disconnect-VBRServer to stop session with the current Veeam server.
Run Get-VBRServerSession to get information about the current session.
Specifies the Veeam server to which you want to connect.
Specifies the port for connection.
Specifies the user name you want to use for authenticating with the remote server.
Note that you should use DOMAIN\USERNAME usernames format.
Specifies the password you want to use for authenticating with the Veeam server.
Specifies the credentials you want to use for authenticating with the Veeam server.
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
This command connects to the 172.17.53.36 server using User/Password authentication.
PS C:\PS> Connect-VBRServer -Server "172.17.53.36" -User "Administrator" -Password "Password"