Error "Add-PSSnapin : The Windows PowerShell snap-in 'VeeamPSSnapIn' is not installed" while starting Veeam Powershell Snapin
Sometimes after correct installation of Veeam Powershell Snapin, attempt to load snap-in into Powershell console ends with error: Add-PSSnapin : The Windows PowerShell snap-in 'VeeamPSSnapIn' is not installed.
This problem occures because for some reason Snap-in is not got registered in Powershell. On Veeam official forums they offer many solutions like reinstalling Veeam or reboots-reinstalls of the Powershell module. In my case the following solution was found:
Create reg-file and import it into Windows registry.
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"
After this Snap-in was correctly registered.
- Hits: 18101