Ошибка Add-PSSnapin : The Windows PowerShell snap-in 'VeeamPSSnapIn' is not installed при запуске Veeam Powershell Snapin

Ошибка Add-PSSnapin : The Windows PowerShell snap-in 'VeeamPSSnapIn' is not installed при запуске Veeam Powershell Snapin

Иногда после нормальной установки Powershell Snapin для Veeam, попытка загрузить снапин в консоль Powershell заканчивается ошибкой: Add-PSSnapin : The Windows PowerShell snap-in 'VeeamPSSnapIn' is not installed.

Эта проблема возникает из-за того, что модуль по какой-то причине не регистрируется в Powershell. На официальных форумах Veeam предлагается множество решений типа переустановки Veeam или перезагрузок-переустановок Powershell-модуля. В моем случае решение было найдено такое:

 Создаем reg-файл с таким содержанием и импортируем его в реестр.

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"

После этого Snapin корректно запускается.

veeam (ru)

  • Просмотров: 5011
Добавить комментарий

Related Articles