Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.
PS N:>
PS N:> & "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
02/07/2013 19:41:15 GMT - Product="" Type="" Installed="" InUse="" Available="" ScriptRunTime="130047396757878004"
PS N:>
... View more