PowerShell

PowerShell script exchange

PowerShell

Veeam Logoby Liviopad » Mon Jun 29, 2015 9:51 am

hi,
when I run tools powershell get the following messages:

Code: Select all
Add-PSSnapin : No snap-ins have been registered for Windows PowerShell version 2.
At C:\Program Files\Veeam\Backup and Replication\Backup\Initialize-VeeamToolkit.ps1:137 char:13
+ Add-PSSnapin <<<<  VeeamPSSnapIn
    + CategoryInfo          : InvalidArgument: (VeeamPSSnapIn:String) [Add-PSSnapin], PSArgumentException
    + FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.AddPSSnapinCommand

Get-PSSnapin : No Windows PowerShell snap-ins matching the pattern 'VeeamPSSnapIn' 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-PSSnapin], PSArgumentException
    + FullyQualifiedErrorId : NoPSSnapInsFound,Microsoft.PowerShell.Commands.GetPSSnapinCommand


The machine is : Windows Server 20018 R2 Standard - Veeam v.8.0.0.2030

Best Regards
Livio padricelli
Liviopad
Influencer
 
Posts: 11
Liked: 2 times
Joined: Thu Dec 11, 2014 9:58 am
Full Name: Livio Padricelli

Re: PowerShell

Veeam Logoby PTide » Mon Jun 29, 2015 10:17 am

Hi Livio,

First error:

Please do "Get-PSSnapin -Registered" and see if there are any Veeam-related.

If no snap-in for veeam listed, then you might want to contact technical support team so they could analyze logs.

Also please see this thread and this one.

Thank you.
PTide
Veeam Software
 
Posts: 3022
Liked: 247 times
Joined: Tue May 19, 2015 1:46 pm

Re: PowerShell

Veeam Logoby PTide » Mon Jun 29, 2015 3:40 pm

UPDATE:

In case you've recently performed an update of your Veeam Server, then this thread might be helpful as well.
PTide
Veeam Software
 
Posts: 3022
Liked: 247 times
Joined: Tue May 19, 2015 1:46 pm


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 4 guests