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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...