This discussion highlights two PowerShell scripts developed to aid tracking and diagnosing Microsoft Teams SlimCore Optimization specifically within Citrix environments, with potential applicability to Azure Virtual Desktop (AVD), Windows 365 (W365), and VMware Horizon sessions. SlimCore is an optimized media stack used in virtual desktop infrastructure (VDI) scenarios to enhance Teams call performance by offloading audio and video processing to the client side.
The first script provides a simple check to determine if SlimCore Optimization is active by reading a JSON status file stored at a defined path inside the user's local app data directory for Teams. It extracts the current session ID, user name, and evaluates whether the connected stack is set to "remote," indicating that SlimCore (VDI 2.0) mode is active. The script outputs this basic status to the console for quick verification.
The second, more detailed script parses the same JSON file but dives deeper into the telemetry data recorded for Teams VDI sessions. It enumerates all entries in the VdiConnectionInfo array and reports key diagnostic details per entry, including timestamp, Teams version, Citrix Workspace App (CWA) client and plugin versions, client OS version, and various other related software components like bridge version, web client version, VM version, and remote SlimCore version. Additionally, it identifies selected audio and video peripherals, listing the connected microphone, speaker, and camera labels, and summarizes call metadata if present (call ID, direction, type, and duration). These diagnostic outputs provide a comprehensive snapshot of the Teams SlimCore environment and peripheral usage inside the virtual session.
Both scripts rely on the presence of the MSTeams VDI connection info JSON file at a fixed location under the local app data path for the Microsoft Teams UWP package (MSTeams_8wekyb3d8bbwe). The detailed script also includes error handling for missing files or absent relevant entries. These scripts were shared as useful utilities for administrators and support teams troubleshooting Teams media optimization issues in Citrix-hosted or other VDI environments.
The community acknowledged the value of these diagnostics and suggested that monitoring these metrics natively within Citrix or other VDI management tools would be beneficial, especially since SlimCore optimization is relevant across multiple virtualization platforms like AVD and Horizon. The detailed insights provided by the second script can significantly assist in understanding which Teams clients, plugin versions, and peripheral configurations are in use across sessions, aiding in performance tuning and issue resolution.
For administrators intending to leverage these scripts, it is important to note the dependency on the Teams JSON telemetry path, which may vary by Teams version or packaging method. Integration or automation into monitoring frameworks would require scheduled execution with appropriate permissions and potentially parsing or exporting this detailed output for alerting or trend analysis.
More information about Microsoft Teams SlimCore Optimization in VDI environments can be found in Microsoft documentation, as well as best practice guidance in environment-specific knowledge bases such as the Citrix Workspace App docs. ControlUp’s own monitoring platform also offers insights into Teams and Citrix session health, which could be augmented with these scripts for deeper media stack diagnostics.
Read the entire article here...
Automation Related Training & Support Archives
Automation training and support-related archives from inside the ControlUp Community on Slack.
Automation Issue Resolved by YoDeck Support in “Application” Framework
After investigating an issue with automation, it was discovered that the issue was resolved by the YoDeck Support team within the "application" Framework. A script was provided to assist with a button click code in the automation process. A screenshot was requested for comparison after the auto-fill process is completed. A script was also provided for inputting credentials into the fields. The button is clicked after the input. The issue was resolved by YoDeck Support within the "application" Framework.
Read the entire article here...
Read the entire article here...
Automating Notifications for Users with Low WiFi Signal in ControlUp
A discussion was held about using workflows to automate notifications for a high volume of users experiencing low WiFi signal on corporate WiFi. Ideas were shared about centralizing events and using AI features in ControlUp to count the number of affected devices and trigger an email or teams message. The suggested solution involved querying the _devices and device_status to gather relevant data.
Read the entire article here...
Read the entire article here...
Code-Signing Script Actions in ControlUp’s .NET Execution Engine
A discussion about code-signing Script Actions with the .NET Execution Engine and signed scripts was started by a customer. The conversation included links to relevant documentation and personal testing by a team member. The complexities of using mechanisms like AppLocker or WDAC for enforcing signed certificates were also mentioned. No definitive answer was given, but the team member thanked the customer for bringing up the issue.
Read the entire article here...
Read the entire article here...
When AI Helps, When It Doesn’t: Notes From a Fireside Chat on IT’s Next Chapter
In our latest ControlUp Community Meetup, Co-Founder Yoni Avital, ControlUp expert Eugene Kalayev, and Shane Kleinert from Choice Solutions sat down for a fireside chat on where EUC is headed. The panel tackled the big question: where does AI actually fit in EUC operations?
Read the entire article here...
Read the entire article here...
ControlUp Community #12 – Fireside Chat about the Future of EUC in an AI World
In this ControlUp Community Meetup, ControlUp Co-Founder Yoni Avital, longtime ControlUp expert Eugene Kalayev, and Sr. Architect Shane Kleinert from Choice Solutions sit down for an unscripted conversation about where EUC is headed in an AI-driven world.
Read the entire article here...
Read the entire article here...
Understanding the API Rate Limit and Cooldown Period at ControlUp
A user asked about the cooldown period for the API rate limit and received information from a colleague stating that there is a limit of 60 requests per user per minute or 200 per minute for the entire organization, with the cooldown period showing up in the header of the API query for retry attempts. The user was unsure if this applied to compliance APIs as well and was reassured that the limit is consistent across all APIs.
Read the entire article here...
Read the entire article here...
Event Severity Issues in ControlUp DEX Console
A user created triggers for "Black Hole Machines" and "Registration Failures" but noticed the event severity was only showing as Informational in the DEX Console. They asked for assistance in changing the severity and shared a screenshot. However, it was confirmed that the severity cannot be changed at this time but may be considered in the future. The user wanted to use this value for reporting dashboards and trends. Support was following up on the issue and confirmed that the severity cannot be changed and all triggers will still create an event, regardless of the register event action configured. The trigger was originally set up to send a webhook to Google Chat, but this was changed to a PowerShell script triggered through Script Action to create ServiceNow incidents in the future. There is no way to define the severity of the event at this time.
Read the entire article here...
Read the entire article here...
Widget Wednesday #15: Advanced Dashboard Filters — Simpler, Smarter, Global
Widget Wednesday #15 introduces advanced global filtering in ControlUp Dashboards, enabling more precise, real-time filtering across devices, attributes, and conditions without complex variable setup.
Read the entire article here...
Read the entire article here...
Widget Wednesday #13: Dashboard Updates, Copilot Readiness, and Boot Migration
Widget Wednesday #13 highlights ControlUp dashboard updates, including automated Microsoft Copilot readiness insights, improved crash visibility, and a new Windows Boot Certificate Migration dashboard with remediation capabilities.
Read the entire article here...
Read the entire article here...




