Connect-VBOServer
Short Description
Connects to the Veeam Backup for Microsoft 365 server.
Syntax
|
Connect-VBOServer [-Server <String>] [-Port <Int32>] [-Credential <PSCredential>] [<CommonParameters>] |
Detailed Description
This cmdlet creates a connection with a local or remote Veeam Backup for Microsoft 365 server. The connection starts the Veeam Backup for Microsoft 365 PowerShell session. During the session you can perform all operations available with Veeam Backup for Microsoft 365 PowerShell.
If you do not specify the server, you will connect to the local Veeam Backup for Microsoft 365 server.
Within one session you can connect to one Veeam Backup for Microsoft 365 server. To connect to another Veeam Backup for Microsoft 365 server you need to close the current session. Run the Disconnect-VBOServerEnds current PowerShell session with the Veeam Backup for Microsoft 365 server. cmdlet to stop the session with the current Veeam Backup for Microsoft 365 server.
Note |
|
This cmdlet requires a |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Credential |
Specifies credentials that you want to use for authenticating to the Veeam Backup for Microsoft 365 server. If you do not provide this parameter, the cmdlet will use the current account credentials. |
|
False |
Named |
False |
|
Port |
Specifies a port number. The cmdlet will use this port number to connect to Veeam Backup for Microsoft 365. Default: 9191 |
|
False |
Named |
False |
|
Server |
Specifies the Veeam Backup for Microsoft 365 server. The cmdlet will connect to this server. Default: 127.0.0.1 |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Examples
Example 1: Connecting to Server
|
This command connects to the Veeam Backup for Microsoft 365 server with the following settings:
|
Example 2: Connecting to Server Using Specific Credentials
|
This example shows how to connect to the Veeam Backup for Microsoft 365 server with the following settings:
Perform the following steps:
|
Related Commands