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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...