Quantcast
Channel: PowerShell General
Viewing all articles
Browse latest Browse all 10624

WMI Citrix License is returning error

$
0
0
When I was using below line in my Script I was getting the error

$licensePool= gwmi -class"Citrix_GT_License_Pool"-Namespace"ROOT\CitrixLicensing"-comp"192.168.70.131"-ErrorAction Stop
---------------------------------------------------------------------------------------
ERROR


Get-WmiObject :
At C:\Windows\system32\jokermore.ps1:10 char:20
+$licensePool= gwmi <<<< -class"Citrix_GT_License_Pool"-Namespace"ROOT\CitrixLicensing"-comp"192.168.70.131"-E
rrorAction Stop
+ CategoryInfo : InvalidOperation: (:) [Get-WmiObject], COMException
+ FullyQualifiedErrorId : GetWMICOMException,Microsoft.PowerShell.Commands.GetWmiObjectCommand

-----------------------------------------------------------------------------------------
I checked for WMI consistency and it came as consistent on server where I was running the script

Viewing all articles
Browse latest Browse all 10624

Trending Articles