I'm getting the same errors. Anybody have a solution to this?
PS C:\Program Files\SplunkUniversalForwarder\etc\apps\TA-CitrixLicensing-1\bin\powershell> .\GetLicenseInfo.ps1
Get-WmiObject :
At C:\Program Files\SplunkUniversalForwarder\etc\apps\TA-CitrixLicensing-1\bin\powershell\GetLicenseInfo.ps1:6 char:29
+ $licensePool = Get-wmiobject <<<< -class "Citrix_GT_License_Pool" -Namespace "ROOT\CitrixLicensing" -computername $L
icenseServer
+ CategoryInfo : InvalidOperation: (:) [Get-WmiObject], COMException
+ FullyQualifiedErrorId : GetWMICOMException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
Attempted to divide by zero.
At C:\Program Files\SplunkUniversalForwarder\etc\apps\TA-CitrixLicensing-1\bin\powershell\GetLicenseInfo.ps1:17 char:65
+ $Output += '{0}="{1}"' -f "InUse_pct",(($License.InUseCount/ <<<< $License.Count)*100)
+ CategoryInfo : NotSpecified: (:) [], RuntimeException
+ FullyQualifiedErrorId : RuntimeException
11/06/2013 16:41:47 GMT - Product="" Type="" Installed="" InUse="" Available="" ScriptRunTime="130282297071700350"
PS C:\Program Files\SplunkUniversalForwarder\etc\apps\TA-CitrixLicensing-1\bin\powershell>
... View more