Skip to content
Luca Dell'Oca Principal Cloud Architect @Veeam
Virtual To The Core Virtual To The Core

Virtualization blog, the italian way.

  • Media
  • About me
Virtual To The Core
Virtual To The Core

Virtualization blog, the italian way.

Run Veeam Powershell from any machine

Luca Dell'Oca, May 3, 2016December 4, 2016

The best part of the new Veeam Standalone Console is the fact that Veeam PowerShell snap-in installs as part of this component, and it includes a new cmd-let: Connect-VBRServer. YES! No more PowerShell remoting to invoke your Veeam PowerShell scripts.

Where’s the powershell snap-in?

Up to Veeam Backup & Replication v8, powershell was installed and available exclusively in the VBR server itself. There was no separated snap-in that could have been installed on another machine. For this reason, the only way to manually run or schedule a powershell script was to do it directly on the Veeam server, or by using Powershell Remoting. Not a big problem when it was a scheduled job that you configure once and let run, but when it was time to test scripts using an editor and do multiple tests, it was a bit limited as we had to connect to the VBR server using a remote desktop, or use a workstation in conjunction with Powershell Remoting.

Welcome Connect-VBRServer!

One of the coolest addition to Veeam Backup & Replication v9 has been for sure the Standalone Console:

Standalone Console

Along with the Standalone console, Veeam powershell is installed by default in any v9 installation (together with the 4 Veeam Explorers). So, any workstation with the standalone console also has the needed Veeam powershell components. In fact, you can open a powershell session and run:

asnp veeampssnapin

and see that Veeam cmdlets are loaded and ready to be used. Among the cmdlets however, one of the new coming with v9 is really interesting:

Connect-VBRServer

If you have ever used VMware Powershell, or as they call it PowerCLI, you know for sure Connect-VIServer. It’s used to connect first to a remote vCenter server, so that every following instruction in a powershell script is executed against the remote server. For Veeam, this is the same exact command. Say for example I want to list all the existing backup jobs registered in a Veeam server, I can run the command:

Get-VBRjob | format-table -Property Name,JobType

Posh1

and see the complete list of the existing jobs. Any command you can run locally can now be executed from remote, and this option is even more powerful if you have multiple Veeam servers and you want to run commands against many of them at the same time.

When you are finished, yo can also run:

Disconnect-VBRServer

To close the remote session.

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
Tech connect-vbrserverpowershellremoteveeam

Post navigation

Previous post
Next post

Search

Sponsors

Latest Posts

  • Migrate WSL (Windows Subsystem for Linux) to a new computer
  • Pass keystrokes to a pfSense virtual machine to install it automatically
  • Automatically deploy pfSense with Terraform and Ansible
  • My Automated Lab project: #6 Create a S3 Bucket with Terraform
  • My Automated Lab project: #5 Deploy a Linux vSphere VM with Terraform and custom disks
©2025 Virtual To The Core | WordPress Theme by SuperbThemes
We use cookies to ensure that we give you the best experience on our website, and to collect anonymous data regarding navigations stats using 3rd party plugins; they all adhere to the EU Privacy Laws. If you continue to use this site we will assume that you are ok with it.OkNoPrivacy Policy