When you run the a powershell script you get see the following error.
"c:\vRangerPro\vRangerTape.ps1\nameofscript.ps1
Add-PSSnapin : No snap-ins have been registered for Windows PowerShell version 2.
At C:\vRangerPro\nameofscript.ps1\nameofscript.ps1:19 char:15
+ Add-PSSnapin <<<< vRanger.API.PowerShell
+ CategoryInfo : InvalidArgument:
(vRanger.API.PowerShell:String)
[Add-PSSnapin], PSArgumentException
+ FullyQualifiedErrorId :
AddPSSnapInRead,Microsoft.PowerShell.Commands.Ad
dPSSnapinCommand
vRanger PowerShell Cmdlets cannot be loaded. Please make sure the vRanger PowerShell Cmdlets are installed on this system."
You are running vRanger on windows 2008 R2 and the vRanger PowerShell Cmdlets have not been installed yet.
1. To install the vRanger PowerShell Cmdlets please run the following command: c:\windows\Microsoft.NET\Framework64\v2.0.50727\installutil.exe "C:\Program Files (x86)\Quest Software\vRanger\PowerShell\vRanger.API.PowerShell.dll"
2. Try running the powershell script once again
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center