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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...