While adding Veeam Backup and Replication snap-in, PowerShell returns the following error:
“No snap-ins have been registered for Windows PowerShell version”
Cause
The issue is typically caused by presence of two PowerShell instances (32-bit and 64-bit ones) inside 64-bit operating systems and is related to one of the following situations:
• Snap-in has been incorrectly registered (or has not been registered at all) for the improper PS instance either automatically or by user via instautil
• User tries to add 64-bit snap-in from 32-bit PowerShell instance
• 64-bit PowerShell shortcut is wrongly pointed to SysWOW64
• Usage of Windows 2008 (R2) with default Powershell 2.0 (there are a lot of weird issues related to it)
• etc.
Solution
Several possible approaches are suggested:
• Opening VB&R snap-in via icon in VB&R GUI, Menu -> PowerShell (as described here)
• Manually registering snap-in
• Checking corresponding registry hive and manually re-creating missing entities (as described here)
• Updating default Powershell 2.0 in case of Windows Server 2008 (R2)
• Reinstalling the latest Update, along with PS snap-in
• Reinstalling everything from scratch (mostly applicable for those who are on free product version, as there is no historical data, configurable infrastructure, etc. ; might be a tough call for those who are on paid product versions)
More information
If neither of the suggested solutions does the trick for you or you have further questions, open a support case, as follows:
I notice we don't need to register the snapin for newer versions of Powershell. I'm using Powershell 5. This might work for older versions too. I simply copy all files/subfolders of c:\Program Files\Veeam\Backup and Replication\Console
to another server anywhere you like. Then use import-module directly with Veeam.Backup.PowerShell.dll
https://www.veeam.com/kb1489
I've been checking differet ISO Images but i can't find the Setup-File for the Powershell Module, atleast in the Backup Folder there is no BPS-File.
Where can i get a download link? Or is it possible to extract the Snapin from the Powershell Module?
I wanna create a Dokumentation Function so that i can create a report about the current Veeam Server with its Job etc. pp.
Starting from v9 Veeam PS Snap-in is integrated in VBR installation package.
So, with the current version, if you want to create your custom function out of Veeam powershell cmdlets, you would need a server with VBR instance running.
Anyway, internet abounds with various Veeam reports. I'm sure you can find the one fitting your goal.
Adding to what Oleg mentioned, you can also install the Veeam PS Snap-in on a different server by installing the Veeam Backup & Replication Console. The screenshot below was taken from our PowerShell documentation.