Veeam 9.x PSSnapIn failure

ISSUE

Installed Veeam 9 Backup and Recovery. Installed the Veeam Powershell after a couple days of demoing. When launching the Veeam powershell module via Veeam menu it opens1)http://forums.veeam.com/powershell-f26/how-do-you-even-get-powershell-to-work-with-veeam-t26429.html?hilit=icon#p137617p and works just fine. However when attempting to launch the Veeamssnapin using the command ‘Add-PsSnapIn VeeamPSSnapIn’ I received an error (below). As you can see, when running ‘get-pssnapin’ Veeam isn’t listed.

Solution:

  • Install latest version of Powershell (see below)
  • Run ‘add-pssnapin veeampssnapin’ via Veeam powershell module from GUI

I attempted many steps to resolve, check sources.

  • Backing up registry and using the infamous ‘registry key fix’ unsuccessfully2)https://forums.veeam.com/powershell-f26/veeampssnapin-not-found-t26632.html#p148605
  • Installing the toolkit ps in the original installer ISO
  • Updating Powershell from 2.03)https://www.microsoft.com/en-us/download/details.aspx?id=40855

The actual solution for my instance was that I was on powershell version2 coupled with an additional undocumented step for adding the plugin since I’m on 9.x. You can verify your powershell4)http://stackoverflow.com/questions/1825585/determine-installed-powershell-version version by running the command:

or

After you have 3.0+ installed (I installed 4.0) I launched Veeam application and ran command ‘add-pssnapin veeampssnapin’, then launched standard PS to confirm and it worked without issues.

6

7

Enjoy!

Mr-Moo

IT Director/System Engineer at 127.0.0.1
Currently residing in Southwest Florida, though Indiana native. I've always enjoyed technology and it's been a passion my entire live.

Latest posts by Mr-Moo (see all)

Notes & References   [ + ]

Leave a Reply