I upgraded from version 6.1 to version 6.5 on Monday this week. Since doing so I have found that the PowerShell ISE interface is throwing an error when trying to load the Veeam PSS Snap-in. The Snap-in loads correctly in a normal PowerShell window but won't load in the ISE interface. The error I get in the ISE interface looks like this:
- Code: Select all
Add-PSSnapin : Cannot load Windows PowerShell snap-in VeeamPSSnapIn because of the following error: Could not load file or assembly 'file:///C:\Program Files\Veeam\Backup and Replication\Veeam.Backup.PowerShell.dll
' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
At C:\Util\SpaceCheck.ps1:2 char:13
+ Add-PSSnapin <<<< -Name VeeamPSSnapIn #-ErrorAction SilentlyContinue
+ CategoryInfo : InvalidArgument: (VeeamPSSnapIn:String) [Add-PSSnapin], PSSnapInException
+ FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.AddPSSnapinCommand
I commented out the "-ErrorAction" section for troubleshooting.
I have a case open with tech support (reference number ref:_00D30RWR._50060MWNq4). I have uninstalled/reinstalled the B&R software but that didn't fix the problem. Anyone have a suggestion?