Help Center
Choose product document...
Veeam Backup & Replication 9.5 Update 4
Veeam Explorers PowerShell Reference

From Windows PowerShell

You can run Veeam Explores cmdlets from the Windows PowerShell or Windows PowerShell ISE command-line shell. In this case, you must import PowerShell modules and add the Veeam PowerShell snap-in into active memory of your machine beforehand.

From Windows PowerShell Note:

If you have Windows PowerShell version 3.0 or later installed, modules with Veeam Explorers PowerShell cmdlets will be imported automatically right after you start a PowerShell session.

Use Veeam Explorers Cmdlets for Veeam Backup & Replication Backups

From Windows PowerShell Important!

To use this option, the machine that runs the PowerShell session must have a Veeam backup server or Veeam Backup & Replication Console installed.

To use Veeam Explorers cmdlets for Veeam Backup & Replication:

  1. Run the Add-PSSnapin cmdlet to add the Veeam PowerShell snap-in and to get access to Veeam Backup & Replication cmdlets.

PS C:\PS> Add-PSSnapin VeeamPSSnapin

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

To learn how to connect to a Veeam backup server, see the Veeam PowerShell Reference, section Connecting to Veeam Backup Server.

  1. Run the Import-Module cmdlet to import the necessary PowerShell module and to get access to Veeam Explorers cmdlets. For example, to import the module with cmdlets for Veeam Explorer for Microsoft SQL Server, run the following command:

PS C:\PS> Import-Module Veeam.SQL.PowerShell

Use Veeam Explorers Cmdlets for Veeam Backup for Microsoft Office 365 Backups

To use Veeam Explorers cmdlets for Veeam Backup for Microsoft Office 365:

  1. Run the Import-Module cmdlet to import the Veeam.Archiver.PowerShell module and to get access to Veeam Backup for Microsoft Office 365 cmdlets.

PS C:\PS> Import-Module Veeam.Archiver.PowerShell

  1. Run the Import-Module cmdlet to import the necessary PowerShell module and to get access to Veeam Explorers cmdlets. For example, to import the module with cmdlets for Veeam Explorer for Microsoft Exchange, run the following command:

PS C:\PS> Import-Module Veeam.Exchange.PowerShell

  1. Connect to a local or remote Veeam Backup for Microsoft Office 365 server.

To learn how to connect to a Veeam Backup for Microsoft Office 365 server, see the PowerShell Reference, section Connecting to Veeam Backup for Microsoft Office 365 Server.

 

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Explorers User Guide

Backup and Restore of SQL Server Databases

Veeam Plug-ins for Enterprise Applications

PowerShell Reference

Veeam Explorers PowerShell Reference

RESTful API Reference

Required Permissions

Veeam Availability for Nutanix AHV

Veeam Backup for Microsoft Office 365 Documentation

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation