All Apps and Add-ons

Get-WmiObject : Invalid class error in Citrix XenApp

dart
Splunk Employee
Splunk Employee

In the Citrix XenApp app, there is no session information displayed.

Upon running the script manually, the below error is given:

C:\>powershell.exe -command  " &'c:\program files\splunkuniversalforwarder\etc\a
pps\TA-XA65-Server\bin\powershell\GetICASessionStat65.ps1'"
Get-WmiObject : Invalid class
At C:\program files\splunkuniversalforwarder\etc\apps\TA-XA65-Server\bin\powers
hell\GetICASessionStat65.ps1:2 char:29
+ $ICASessions = Get-WMIOBject <<<<  -Class Win32_PerfFormattedData_CitrixICA_I
CASession
    + CategoryInfo          : InvalidOperation: (:) [Get-WmiObject], Managemen
   tException
    + FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.C
   ommands.GetWmiObjectCommand

What is causing the issue?

1 Solution

dart
Splunk Employee
Splunk Employee
0 Karma

dart
Splunk Employee
Splunk Employee

Some Citrix updates can remove the counters, the below links may be able to resolve the issue:
http://docs.splunk.com/Documentation/XenApp/latest/DeployXenApp/Troubleshooting
http://support.citrix.com/article/CTX127151

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...