Trying to run the Get-Repository cmdlet via Powershell, and the following error message is presented:
PS C:\Program Files (x86)\Quest Software\vRanger\PowerShell> Get-Repository
Get-Repository : An error occurred loading a configuration file: The parameterb'exePath' is invalid.
Parameter name: exePath
At line:1 char:1
+ Get-Repository
+ ~~~~~~~~~~~~~~
+ CategoryInfo : InvalidResult: (vRanger.API.Pow...l.GetRepositor
y:GetRepository) [Get-Repository], ConfigurationErrorsException
+ FullyQualifiedErrorId : 1,vRanger.API.PowerShell.RepositoryShell.GetRepo
sitory
vRanger API will not work with Windows Management Framework 3.0 installed. Commands fail with an "An error occurred loading a configuration file: The parameter `exePath` is invalid. This is an open defect for the issue which has been resolved with version 6.1.0.33036.
Steps to recreate.
1. Install Windows Management Framework 3.0.
http://www.microsoft.com/en-us/download/details.aspx?id=34595
2. Install vRanger 6.0.1
3. Add a VC or host, add a repository, and create a backup job, but you don't need to run it.
4. Click Start/Programs/Quest Software/vRanger Backup&Replication/vRanger Console
5. Type Set-ExecutionPolicy Unrestricted and close
6. Click Start/Programs/Quest Software/vRanger Backup&Replication/vRanger Console
7. Type get-job
The command will fail with the exePath error.
The current workaround to the problem is to uninstall Windows Management Framework 3.0.