Hi,
A script which is working fine fails within Powershell. Why?
This is the error.
export-fimconfig : The type initializer for 'Microsoft.ResourceManagement.WebSer
vices.Client.ResourceManagementClient' threw an exception.
At C:\temp\tncs.ps1:100 char:30
+ $CurObject = export-fimconfig <<<< -Credential $Credential `
+ CategoryInfo : NotSpecified: (:) [Export-FIMConfig], TypeInitiali
zationException
+ FullyQualifiedErrorId : System.TypeInitializationException,Microsoft.Resou
rceManagement.Automation.ExportConfig