This is a *clean* install of 6.5--not upgraded. I have installed it with the powershell option checked in the install process. For some reason the powershell snapin is not automatically registered. Also, this is a clean install of Windows 2008 R2 STD with all the patches up-to-date from MS. This is a new environment--it is all up to date. FWIW, the vCenter is 5.1 and ESXi hosts are 5.1 as well--but i havent got that far yet.
When i try to manually register the snapin, i get an error:
Code: Select all
PS C:\> Add-PSSnapin -name "VeeamPSSnapIn"
Add-PSSnapin : The Windows PowerShell snap-in 'VeeamPSSnapIn' is not installed on this machine.
At line:1 char:13
+ Add-PSSnapin <<<< -name "VeeamPSSnapIn"
+ CategoryInfo : InvalidArgument: (VeeamPSSnapIn:String) [Add-PSSnapin], PSArgumentException
+ FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.AddPSSnapinCommand
PS C:\>
Code: Select all
PS C:\> Add-Type -path 'C:\Program Files\Veeam\Backup and Replication\Veeam.Backup.PowerShell.dll'
Add-Type : Could not load file or assembly 'file:///C:\Program Files\Veeam\Backup and Replication\Veeam.Backup.PowerShe
ll.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and can
not be loaded.
At line:1 char:10
+ Add-Type <<<< -path 'C:\Program Files\Veeam\Backup and Replication\Veeam.Backup.PowerShell.dll'
+ CategoryInfo : NotSpecified: (:) [Add-Type], BadImageFormatException
+ FullyQualifiedErrorId : System.BadImageFormatException,Microsoft.PowerShell.Commands.AddTypeCommand
PS C:\>
http://tfl09.blogspot.com/2010/08/using ... -with.html
http://stackoverflow.com/questions/2094 ... -4-runtime
Did something change in 6.5 that requires a modification to powershell in order to register the DLL and then be able to Add-PSSnapIn?
Thanks!!
Dave O.