PowerShell script exchange
Post Reply
bgalante
Enthusiast
Posts: 45
Liked: 2 times
Joined: Jul 27, 2015 5:14 pm
Full Name: Brian Galante
Contact:

Powershell snapin for V8 not working

Post by bgalante »

Hi,

I just installed the powershell snap-in on my Veeam B&R environment.

When I am in the B&R application console, I click on the powershell icon in the menu, and it gives this error:

Code: Select all

Add-PSSnapin : No snap-ins have been registered for windows powershell version 4.
At C:\Program Files\Veeam\Backup and Replication\Backup\Initialize-VeeamToolKit.ps1:137 char:1
And none of the commands work.

Does anyone have experience with this issue?
veremin
Product Manager
Posts: 20405
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Powershell snapin for V8 not working

Post by veremin »

Have you tried already to reinstall PS snap-in?
bgalante
Enthusiast
Posts: 45
Liked: 2 times
Joined: Jul 27, 2015 5:14 pm
Full Name: Brian Galante
Contact:

Re: Powershell snapin for V8 not working

Post by bgalante »

Yes, I've tried to reinstall it. I'm still getting the same error.
veremin
Product Manager
Posts: 20405
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Powershell snapin for V8 not working

Post by veremin »

What happens if you try to load the snap-in outside of VB&R GUI? Just open a PS console, and try to add the snap-in, using "Asnp VeeamPSSnapin" code.

If you get something like "VeeamPSSnapIn not found", take a look at the solution provided in this thread. Also, this thread might be useful.

Thanks.
bgalante
Enthusiast
Posts: 45
Liked: 2 times
Joined: Jul 27, 2015 5:14 pm
Full Name: Brian Galante
Contact:

Re: Powershell snapin for V8 not working

Post by bgalante » 1 person likes this post

Thanks for your help, I had to reapply the 2b patch. Works now...
veremin
Product Manager
Posts: 20405
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Powershell snapin for V8 not working

Post by veremin »

Yep, re-applying the latest update seems to be the most common solution for the issue described.

Thank you for confirming that it's helped you, as well; appreciated.
Memmy
Novice
Posts: 6
Liked: 1 time
Joined: Jul 04, 2013 1:02 pm
Full Name: Marco Menegazzi
Contact:

Re: Powershell snapin for V8 not working

Post by Memmy » 1 person likes this post

I've had the same problem. I can confirm that re-applying the latest patch solves the problem.
nsiakotos
Lurker
Posts: 1
Liked: never
Joined: Jan 10, 2012 8:02 pm
Full Name: Nick Siakotos
Contact:

Re: Powershell snapin for V8 not working

Post by nsiakotos »

I had this same issue, no amount of re-installing/re-patching worked for me. I had to set the registry key manually.

Put this in a text file and rename it to VeeamPSSFix.reg

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns\VeeamPSSnapIn]
"PowerShellVersion"="2.0"
"Vendor"="Veeam"
"Description"="This is a PowerShell snap-in that includes the Veeam's cmdlet."
"VendorIndirect"="VeeamPSSnapIn, Veeam"
"DescriptionIndirect"="VeeamPSSnapIn,This is a PowerShell snap-in that includes the Veeam's cmdlet."
"Version"="8.0.0.0"
"ApplicationBase"="C:\\Program Files\\Veeam\\Backup and Replication\\Backup"
"AssemblyName"="Veeam.Backup.PowerShell, Version=8.0.0.0, Culture=neutral, PublicKeyToken=bfd684de2276783a"
"ModuleName"="C:\\Program Files\\Veeam\\Backup and Replication\\Backup\\Veeam.Backup.PowerShell.dll"
bgalante
Enthusiast
Posts: 45
Liked: 2 times
Joined: Jul 27, 2015 5:14 pm
Full Name: Brian Galante
Contact:

Re: Powershell snapin for V8 not working

Post by bgalante »

Re-applying the patch did work, thank you for you help!
riahc3
Expert
Posts: 110
Liked: 5 times
Joined: Oct 21, 2015 10:01 am
Full Name: John
Contact:

Re: Powershell snapin for V8 not working

Post by riahc3 »

bgalante wrote:Re-applying the patch did work, thank you for you help!
Could you add a step by step? Is rebooting necessary?
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 15 guests