Hydra 2.3 is here - Windows 365 management included at no extra cost with all Hydra tiers.
Same features as AVD: auto-scaling, imaging, session control. Free tier limits: 5 host pools, 100 sessions. Paid tiers: unlimited.
View Pricing Today!

Workspace Weekly: Add Any Windows Performance Counter to Your Login Enterprise Tests

March 26, 2026

Last week I shared a script that automates NVIDIA GPU session metrics setup in Login Enterprise. The response was great, and a few people asked the same follow-up question: what about other counters?

This week’s Workspace Weekly answers that.

Session metrics in Login Enterprise let you pull Windows performance counters directly from your digital workspaces during a continuous test or load test.

CPU and memory come built-in, and you can add anything else you want. The catch has always been setup in finding the right counter on the machine, getting the exact category, name, and instance string, then creating each metric definition one at a time in Login Enterprise.

It is tedious, and one wrong character can cause the metric to silently stop collecting. So, I built a script for that too.

Click to View Details

Figure 1: NVIDIA GPU session metrics displayed alongside CPU and Memory in a Login Enterprise test result.

How Add-SessionMetrics.ps1 Works

Add-SessionMetrics.ps1 is an interactive script that discovers PerfMon counters and WMI class properties on any Windows machine, then creates the session metric definitions in Login Enterprise via the API. You give it a search keyword. It shows you what it finds, you pick what you want, confirm your selections, and it handles the rest.

It works with any Windows performance counter:

  • Citrix HDX / ICA protocol counters
  • Omnissa Blast protocol counters
  • PCoIP counters
  • RDS RemoteFX counters
  • NVIDIA GPU performance counters
  • Storage and disk I/O counters
  • Network interface counters
  • Process-level and application counters

Anything exposed through PerfMon or WMI on the machine you run it against.

The script can run on any Windows machine that has the counters you want and can reach your Login Enterprise appliance. It does not have to be a launcher or a test target.

Use Cases: Citrix, Omnissa, NVIDIA, and Beyond

Imagine you are running a Citrix environment and want to track HDX protocol metrics alongside your EUX scores. You run the script on a Citrix machine, search for “HDX,” pick the counters you care about, and in a few minutes, they are registered in Login Enterprise and ready to add to your test.

Or imagine you are troubleshooting session performance in an Omnissa Horizon environment. You search for “Blast,” select the framerate and bandwidth counters, assign them to your existing session metrics group, and your next Continuous Test run includes them.

The NVIDIA GPU counters from last week’s script are one example of what this can do. But the script is not specific to NVIDIA or any vendor, if the counter exists on the machine, this script can register it.

Add Custom Metrics to Login Enterprise in Minutes

This script is available as a preview integration from the Login VSI GitHub repo. It is ready to try in your environment, and we would love your feedback.

For requirements, usage, and companion guidance, see the documentation here (the .pdf).

Download Add-SessionMetrics.ps1 from the Login VSI GitHub repo.

Point it at your Login Enterprise appliance using your API token, run it on the machine with the counters you want, follow the prompts, and assign the resulting metrics to your tests. Your next run includes whatever you just added.

As always, we appreciate your feedback and use your insights to make Login Enterprise better.

Stay tuned for more Workspace Weeklies and join our Slack channel #workspace-weekly to share field stories, tips, and interesting finds.

To see all Workspace Weekly posts, visit the Workspace Weekly hub!

Workspace Weekly

Subscribe for more insights!

Related Resources

The Real Math Behind AVD Management Pricing: Minimums, Tiers, and Year-One Costs
BlogApril 16, 2026

The Real Math Behind AVD Management Pricing: Minimums, Tiers, and Year-One Costs

Workspace Weekly: Your Infrastructure Story Now in Power BI
BlogApril 15, 2026

Workspace Weekly: Your Infrastructure Story Now in Power BI

Windows 365 Management Is Getting Too Complicated: The Three-Portal Problem
BlogApril 14, 2026

Windows 365 Management Is Getting Too Complicated: The Three-Portal Problem

Ready to see how you can transform with Login VSI?