PowerShell script exchange
bgalante
Enthusiast
Posts: 45 Liked: 2 times
Joined: Jul 27, 2015 5:14 pm
Full Name: Brian Galante
Contact:
Post
by bgalante » Jul 29, 2015 5:47 pm
this post
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:
Post
by veremin » Jul 29, 2015 5:54 pm
this post
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:
Post
by bgalante » Jul 29, 2015 6:30 pm
this post
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:
Post
by veremin » Jul 29, 2015 6:39 pm
this post
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:
Post
by bgalante » Jul 29, 2015 7:44 pm
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:
Post
by veremin » Jul 30, 2015 8:22 am
this post
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:
Post
by Memmy » Jul 30, 2015 9:48 am
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:
Post
by nsiakotos » Aug 04, 2015 7:14 pm
this post
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:
Post
by bgalante » Aug 11, 2015 11:48 am
this post
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:
Post
by riahc3 » Nov 29, 2015 1:10 am
this post
bgalante wrote: Re-applying the patch did work, thank you for you help!
Could you add a step by step? Is rebooting necessary?
Users browsing this forum: Google [Bot] and 15 guests