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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...