https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2IxNTIzIiwiaGFzaCI6IjllNDQ0MjMwLTBiMTctNDNmMS1iYjFkLTc4NTAzNTkwNGZkMiJ9
1-800-691-1991 | 9am - 8pm ET
EN

Getting Started with Veeam Powershell

Purpose

This KB assumes some basic familiarity with Microsoft Powershell, including cmdlets, variables, and the pipeline.

Solution

To launch a session with Veeam Powershell, open Veeam Backup & Replication, go to "Tools", and click "Powershell". This will launch a window as below:

User-added image

From here, you can obtain a full list of all VBR Cmdlets by using "Get-VBRCommand":

User-added image

User-added image

One command that is quite useful is 'Get-VBRJob'. This returns a list of all backup, replication, and copy jobs configured in your VBR install.

User-added image

You can also be more specific about which job(s) you desire by supplying a -Name parameter, which does accept wildcards.

User-added image

Now that we know how to get our job data, let's say we wish to start all of our jobs at once (perhaps to do load testing over a weekend). The command is simple:

User-added image

You can also do the same with the 'stop-vbrjob' cmdlet analogously.
KB ID:
1523
Product:
Veeam Backup & Replication
Version:
6.x
Published:
2012-02-13
Last Modified:
2020-08-13
Please rate how helpful this article was to you:
5 out of 5 based on 1 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.
Your report was sent to the responsible team. Our representative will contact you by email you provided.
We're working on it please try again later