PowerShell script exchange
Post Reply
ramnefors
Influencer
Posts: 10
Liked: 2 times
Joined: Nov 11, 2014 1:02 pm
Full Name: Mats Ramnefors
Contact:

PS install failure - VeeamPSSnapIn not installed

Post by ramnefors » May 04, 2015 12:35 pm

On a WIndows 2008R2SP1 with Powershell v4/NET 4.5 and after installing the VEEAM PS plugin. I get the following error message when starting PS from B&R menu.

Add-PSSnapin : The Windows PowerShell snap-in 'VeeamPSSnapIn' is not installed on this computer.
At C:\Program Files\Veeam\Backup and Replication\Backup\Initialize-VeeamToolkit.ps1:137 char:1
+ Add-PSSnapin VeeamPSSnapIn
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~

If I try to manually install the Veeam.Backup.PowerShell.dll I get an error message that the DLL does not contains an installer.

Any ideas?

veremin
Product Manager
Posts: 17633
Liked: 1594 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: PS install failure - VeeamPSSnapIn not installed

Post by veremin » May 06, 2015 2:21 pm

Have you already contacted support team and provided them with installation logs that are required to find the root cause? Thanks.

backuper2015
Lurker
Posts: 1
Liked: never
Joined: May 13, 2015 10:04 am
Contact:

Re: PS install failure - VeeamPSSnapIn not installed

Post by backuper2015 » May 13, 2015 10:14 am

Have the same problem on Windows server 2012 R2 x64 with veeam backup & replication free.
Wanted to get use of the new features of free version via powershell but this error give me no go :(

"VeeamPSSnapIn not installed".
Launching PS from Veeam windows doesn't help neither.

- Tried to manually install it via installutil.exe - no way (log below).
- Tried to install it via BPS_x64.exe as said in kb1489 - no way.

Question:
is it possible to solve this problem for a free version user?
Thank you very much in advance.

foggy
Veeam Software
Posts: 19057
Liked: 1695 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: PS install failure - VeeamPSSnapIn not installed

Post by foggy » May 13, 2015 1:42 pm

Yes, please contact technical support. Everybody on the official evaluation is eligible for support, just expect answers based on staff availability.

seddy
Novice
Posts: 6
Liked: never
Joined: May 15, 2015 6:16 pm
Full Name: Shawn Eddy
Contact:

Re: PS install failure - VeeamPSSnapIn not installed

Post by seddy » May 15, 2015 6:34 pm

I'm having the same problem... Here's one of my observations. We're running, un-patched, Veeam Backup & Replication at one office and a patched copy of Veeam free at another smaller office. If I do a "Get-PSSnapin -registered" in powershell, I notice that on the updated free installation, i'm missing the VeeamPSSnapIn, but have the other three snapins ... It's like THAT snapin is just missing.

Was this intentional on the free version or was it overlooked somehow while creating the install package?

I ran the BPS_x64.msi installer but still have the same issue...

veremin
Product Manager
Posts: 17633
Liked: 1594 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: PS install failure - VeeamPSSnapIn not installed

Post by veremin » May 16, 2015 2:22 pm

As far as I know, snap-in should be included in free installation, as well, because recently we've made some commandlets available in free product version. Is there any installation file inside C:\Program Files\Veeam\Backup and Replication\ directory, try to search for some like "Install-VeeamToolkit.ps1"? Thanks.

sbbots
Enthusiast
Posts: 96
Liked: 25 times
Joined: Aug 16, 2013 5:44 pm
Full Name: Matt B

Re: PS install failure - VeeamPSSnapIn not installed

Post by sbbots » Jun 02, 2015 5:35 pm

We are having the same issue as the OP installing the plugin . Server 2008 R2 SP1 with PS 4.0/.NET 4.5.

I have been told that this is an issue with B&R v8 and that an update or hotfix will be available for this. Any time frame on when this might be available?

veremin
Product Manager
Posts: 17633
Liked: 1594 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: PS install failure - VeeamPSSnapIn not installed

Post by veremin » Jun 03, 2015 9:04 am

You mean you were told but one of our support team engineers? If so, can I ask you to post your ticket number here, so that, I can check the case?

sbbots
Enthusiast
Posts: 96
Liked: 25 times
Joined: Aug 16, 2013 5:44 pm
Full Name: Matt B

Re: PS install failure - VeeamPSSnapIn not installed

Post by sbbots » Jun 03, 2015 10:02 pm

v.Eremin wrote:You mean you were told but one of our support team engineers? If so, can I ask you to post your ticket number here, so that, I can check the case?
Case # 00931494

Your tech corrected his statement regarding a patch being worked on and instead suggested reinstalling the software. By "the software" I assume he means the entire B&R v8 suite?

sbbots
Enthusiast
Posts: 96
Liked: 25 times
Joined: Aug 16, 2013 5:44 pm
Full Name: Matt B

Re: PS install failure - VeeamPSSnapIn not installed

Post by sbbots » Jun 04, 2015 12:19 am 1 person likes this post

I did a repair of the Veeam install from the B&R 8 install disk and the Powershell plugin works now. That was easy [clicks easy button]. Thanks.

Starko
Lurker
Posts: 2
Liked: 4 times
Joined: Jun 17, 2015 9:33 am
Full Name: Marco Hofmann
Contact:

Re: PS install failure - VeeamPSSnapIn not installed

Post by Starko » Jun 17, 2015 9:40 am 3 people like this post

Hello,
we had the same problem es described in this topic with two customer installations. As @v.Eremin suggested we made a support case and we found a solution.
The problem seems to be in the installer of v8 and/or Update 2. But the solution is simple.
  • Do a fresh reboot of your Veeam Server
  • Install Update 2 again over the running version
  • Clean Reboot
  • Install the PowerShell AddIn Again
  • Start Veeam B&R
  • Check if the PowerShell Button is present in the Veeam Main Menu.
  • If it is, try to start it and see if the cmdlets get loaded.
That solved all our issues.

veremin
Product Manager
Posts: 17633
Liked: 1594 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: PS install failure - VeeamPSSnapIn not installed

Post by veremin » Jun 17, 2015 11:32 am

Thank you, Marco, for registering on our community forums to update the share with the found solution with fellow members. We do appreciate that!

Starko
Lurker
Posts: 2
Liked: 4 times
Joined: Jun 17, 2015 9:33 am
Full Name: Marco Hofmann
Contact:

Re: PS install failure - VeeamPSSnapIn not installed

Post by Starko » Jun 17, 2015 11:34 am 1 person likes this post

I also posted a german manual how to solve this on my blog:
http://www.meinekleinefarm.net/veeam-ba ... gistriert/

cgt
Novice
Posts: 4
Liked: never
Joined: Jan 27, 2014 11:21 am
Full Name: Carlos González
Contact:

Re: PS install failure - VeeamPSSnapIn not installed

Post by cgt » Dec 22, 2015 12:03 pm

Starko wrote:I also posted a german manual how to solve this on my blog:
http://www.meinekleinefarm.net/veeam-ba ... gistriert/
Hi All!

I'm trying all you post in your blog but it still not working.
I'm on latest version (Pacth 3), Windows 2008 R2 SP1 x64, PowerShell instlled as the KB(https://www.veeam.com/kb1489)shows, and Im not able to run the Veeam Pwershell. Each time I try to open it, i get the next error:
****************************************************************************************************
Add-PSSnapin : The Windows PowerShell snap-in 'VeeamPSSnapIn' is not installed
on this machine.
At C:\Program Files\Veeam\Backup and Replication\Backup\Initialize-VeeamToolkit
.ps1:137 char:13
+ Add-PSSnapin <<<< VeeamPSSnapIn
+ CategoryInfo : InvalidArgument: (VeeamPSSnapIn:String) [Add-PSS
napin], PSArgumentException
+ FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.Ad
dPSSnapinCommand

Get-PSSnapin : No Windows PowerShell snap-ins matching the pattern 'VeeamPSSnap
In' were found. Check the pattern and then try the command again.
At C:\Program Files\Veeam\Backup and Replication\Backup\Initialize-VeeamToolkit
.ps1:140 char:23
+ $snapIn = Get-PSSnapIn <<<< "VeeamPSSnapIn"
+ CategoryInfo : InvalidArgument: (VeeamPSSnapIn:String) [Get-PSS
napin], PSArgumentException
+ FullyQualifiedErrorId : NoPSSnapInsFound,Microsoft.PowerShell.Commands.G
etPSSnapinCommand

****************************************************************************************************

Can somebody help me please? I'm working on a customer with a trial license, and if all the tests he wants to perform works, he will buy the solution, if not he will discard it. I dont try to open a case because Im not really sure if they will want to help us. Hope someone can give me some tips.

Thank you in advance.

veremin
Product Manager
Posts: 17633
Liked: 1594 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: PS install failure - VeeamPSSnapIn not installed

Post by veremin » Dec 22, 2015 12:47 pm 1 person likes this post

Check the sticky topic first and see whether suggestions provided there help you or not. Thanks.

cgt
Novice
Posts: 4
Liked: never
Joined: Jan 27, 2014 11:21 am
Full Name: Carlos González
Contact:

Re: PS install failure - VeeamPSSnapIn not installed

Post by cgt » Dec 22, 2015 12:55 pm

v.Eremin wrote:Check the sticky topic first and see whether suggestions provided there help you or not. Thanks.
Thank you so much Eremin. I will test it as soon as some programmed jobs finishes, and then I will thell you if it works for me.
:D

veremin
Product Manager
Posts: 17633
Liked: 1594 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: PS install failure - VeeamPSSnapIn not installed

Post by veremin » Dec 23, 2015 12:11 pm 1 person likes this post

You're welcome. If neither of proposed workarounds works for you, feel free to ask support team for assistance. Thanks.

cgt
Novice
Posts: 4
Liked: never
Joined: Jan 27, 2014 11:21 am
Full Name: Carlos González
Contact:

Re: PS install failure - VeeamPSSnapIn not installed

Post by cgt » Dec 30, 2015 9:46 am

v.Eremin wrote:Check the sticky topic first and see whether suggestions provided there help you or not. Thanks.
Hi Eremin,

Good news, all was fixed but following the info on the next link:
http://forums.veeam.com/powershell-f26/ ... ml#p148605

I upgraded the PowerShell in Windows 2008 Server R2, and then, just add the key registry as shown in the link.

Thank you so much! :D

veremin
Product Manager
Posts: 17633
Liked: 1594 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: PS install failure - VeeamPSSnapIn not installed

Post by veremin » Dec 30, 2015 11:35 am

Glad to hear you've solved the issue. Thank you for updating the topic with the resolution ; appreciated!

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests