I'm using Veeam BR U2 and I get the below error when I try to open PowerShell via Veeam BR GUI console:
Code: Select all
Add-PSSnapin : The Windows PowerShell snap-in 'VeeamPSSnapIn' is not installed
on this computer.
At C:\Program Files\Veeam\Backup and
Replication\Backup\Initialize-VeeamToolkit.ps1:123 char:1
+ Add-PSSnapin VeeamPSSnapIn
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (VeeamPSSnapIn:String) [Add-PSS
napin], PSArgumentException
+ FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.Ad
dPSSnapinCommand
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:126 char:11
+ $snapIn = Get-PSSnapIn "VeeamPSSnapIn"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (VeeamPSSnapIn:String) [Get-PSS
napin], PSArgumentException
+ FullyQualifiedErrorId : NoPSSnapInsFound,Microsoft.PowerShell.Commands.G
etPSSnapinCommand
Code: Select all
Running a transacted installation.
Beginning the Install phase of the installation.
See the contents of the log file for the C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.dll assembly's
progress.
The file is located at C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.InstallLog.
Installing assembly 'C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.dll'.
Affected parameters are:
logtoconsole =
assemblypath = C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.dll
logfile = C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.InstallLog
An exception occurred while trying to find the installers in the C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.Po
werShell.dll assembly.
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions prope
rty for more information.
Aborting installation for C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.dll.
An exception occurred during the Install phase.
System.InvalidOperationException: Unable to get installer types in the C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Bac
kup.PowerShell.dll assembly.
The inner exception System.Reflection.ReflectionTypeLoadException was thrown with the following error message: Unable to load one or
more of the requested types. Retrieve the LoaderExceptions property for more information..
The Rollback phase of the installation is beginning.
See the contents of the log file for the C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.dll assembly's
progress.
The file is located at C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.InstallLog.
Rolling back assembly 'C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.dll'.
Affected parameters are:
logtoconsole =
assemblypath = C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.dll
logfile = C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.InstallLog
An exception occurred while trying to find the installers in the C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.Po
werShell.dll assembly.
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions prope
rty for more information.
Aborting installation for C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Backup.PowerShell.dll.
An exception occurred during the Rollback phase of the System.Configuration.Install.AssemblyInstaller installer.
System.InvalidOperationException: Unable to get installer types in the C:\Program Files\Veeam\Backup and Replication\Backup\Veeam.Bac
kup.PowerShell.dll assembly.
The inner exception System.Reflection.ReflectionTypeLoadException was thrown with the following error message: Unable to load one or
more of the requested types. Retrieve the LoaderExceptions property for more information..
An exception occurred during the Rollback phase of the installation. This exception will be ignored and the rollback will continue. H
owever, the machine might not fully revert to its initial state after the rollback is complete.
The Rollback phase completed successfully.
The transacted install has completed.
The installation failed, and the rollback has been performed.
Best Regards