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

Getting Started

Veeam Backup & Replication comes with the PowerShell extension — a snap-in to Microsoft Windows PowerShell. The Veeam Backup PowerShell snap-in allows you to do almost all operations that are available in the user interface. Keep in mind that actions performed with PowerShell have the same force as actions performed via Veeam Backup & Replication: for example, if you delete a job with a PowerShell script, the job will be removed from the Veeam Backup & Replication database, and you will not be able to undo changes.


Supports Windows PowerShell version 2.0 or later.

Getting Started Note:

We recommend that you use Windows PowerShell version 4.0 as more reliable for performing actions with Veeam PowerShell cmdlets.

Starting Veeam PowerShell Sessions

You can run the Veeam PowerShell sessions from the Veeam backup server (locally) or from a remote machine. The remote machine must have the Veeam Backup & Replication Console installed. The Veeam PowerShell component is installed by default as a part of the Veeam Backup & Replication or the Veeam Backup & Replication Console.

You can open the PowerShell console from the Veeam Backup & Replication main menu: in the main menu, select Console > PowerShell. In this case, the Veeam PSSnapIn is added automatically.

You can run Veeam PowerShell commands from any Windows PowerShell session, for example from the Windows PowerShell console installed on your machine. To start the session, do the following:

  1. Add the Veeam PSSnapIn to get access to the Veeam Backup & Replication cmdlets library. Run the following command:

Add-PSSnapin VeeamPSSnapin

  1. Connect to local or remote Veeam backup server. See Connecting to Veeam Backup Server.

In This Section

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 Reference

Veeam Availability for Nutanix AHV Documentation

Veeam Backup for Microsoft Office 365 Documentation

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation