PowerShell script exchange
Post Reply
Liviopad
Influencer
Posts: 11
Liked: 2 times
Joined: Dec 11, 2014 9:58 am
Full Name: Livio Padricelli
Contact:

PowerShell

Post by Liviopad »

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
PTide
Product Manager
Posts: 6551
Liked: 765 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: PowerShell

Post by PTide »

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
Product Manager
Posts: 6551
Liked: 765 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: PowerShell

Post by PTide »

UPDATE:

In case you've recently performed an update of your Veeam Server, then this thread might be helpful as well.
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests