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-VBOServer cmdlet to stop the session with the current Veeam Backup for Microsoft 365 server.

Connect-VBOServer Note

This cmdlet requires a PSCredential object. To obtain a PSCredential object, run the Get-Credential cmdlet.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Server

Specifies the Veeam Backup for Microsoft 365 server. The cmdlet will connect to this server.

Default: 127.0.0.1

String

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

Int32

False

Named

False

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.

PSCredential

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Examples

Connect-VBOServerExample 1. Connecting to Server

Connect-VBOServerExample 2. Connecting to Server Using Specific Credentials

Related Commands

Get-Credential

Page updated 3/25/2025

Page content applies to build 8.1.1.159