Starting PowerShell Sessions from Windows PowerShell

You can run Veeam Explorers cmdlets from the Windows PowerShell or Windows PowerShell ISE command-line shell.

Using Veeam Explorers Cmdlets for Backups and Replicas Created with Veeam Backup & Replication

To use Veeam Explorers cmdlets for Veeam Backup & Replication, perform the following steps:

  1. Start a PowerShell session on a machine that has the Veeam Backup & Replication console installed.
  2. Check whether Veeam Backup PowerShell module is installed on your machine by running the following cmdlet:

Get-Module -Name Veeam.Backup.PowerShell

  1. Run the Connect-VBRServer cmdlet to connect to a local or remote Veeam Backup server.

For more information on how to connect to a Veeam Backup server, see the Connecting to Veeam Backup Server section of the Veeam PowerShell Reference. 

Using Veeam Explorers Cmdlets for Backups Created with Veeam Backup for Microsoft 365

When you install Veeam Backup for Microsoft 365 and Veeam Explorers, all related PowerShell modules are automatically imported into an active memory. If your PowerShell session was opened before you start installation of Veeam Backup for Microsoft 365, run the Import-Module cmdlet to import the Veeam.Archiver.PowerShell module and Veeam Explorers modules. For example:

Import-Module "C:\Program Files\Veeam\Backup365\Veeam.Archiver.PowerShell\Veeam.Archiver.PowerShell.psd1"

Import-Module "C:\Program Files\Veeam\Backup and Replication\Explorers\Exchange\Veeam.Exchange.PowerShell\Veeam.Exchange.PowerShell.psd1"

Import-Module "C:\Program Files\Veeam\Backup and Replication\Explorers\SharePoint\Veeam.SharePoint.PowerShell\Veeam.SharePoint.PowerShell.psd1"

Import-Module "C:\Program Files\Veeam\Backup and Replication\Explorers\Teams\Veeam.Teams.PowerShell\Veeam.Teams.PowerShell.psd1"

To use Veeam Explorer cmdlets for Veeam Backup for Microsoft 365, perform the following steps:

  1. Start a PowerShell session on a machine that has the Veeam Backup for Microsoft 365 PowerShell installed.
  2. Connect to a local or remote Veeam Backup for Microsoft 365 server.

For more information on how to connect to Veeam Backup for Microsoft 365 server, see Connect-VBOServer.

Page updated 9/3/2024

Page content applies to build 12.2.0.334