The user was running a for loop 6 times when it should only be running it 3 times. They tried debugging it in ISE before switching to VS Code. They figured out how to switch them and resolved the issue.
Read the entire article here...
Scripts Related Training & Support Archives
Scripts training and support-related archives from inside the ControlUp Community on Slack.
How to Remotely Uninstall Agents in Citrix Environment After 8.8 Upgrade?”
A user asked about updating ControlUp agents in a Citrix environment. The user had previously installed manually but encountered an error when updating to 8.8. An uninstall script (https://support.controlup.com/docs/i-can-t-remove-the-controlup-agent-msi-installed-@member) and use of Tanium was suggested to remotely uninstall the agent. Additional topics discussed were ControlUp Sync Scripts for persistent desktops, and RemoteDX and EdgeDX for endpoint devices. Titles: Remote Uninstall of ControlUp Agent 8.8 in Citrix Environment; Remote Uninstall of ControlUp Agent 8.8 in Citrix with Tanium.
Read the entire article here...
Read the entire article here...
How to fix this false positive in ControlUp?
User asked for help with false positive - 400s for Windows Shell, caused by loopback processing mode and RSoP logging not being configured. They used the script from ControlUp's github repository which worked with parameters provided, however executing it from the console gave a false output. @Member determined it was a bug, which the user eventually figured out. Title: Fixing False Positive for Windows Shell - ControlUp Script Library
Read the entire article here...
Read the entire article here...
Seeking Method to Identify Applied Settings and Corresponding PowerShell Profile?
The user asked about PowerShell profiles and how to see the settings that are applying, and if OneDrive could be causing confusion. It was suggested to check the $profile, $profile.currentuserallhost and allusersallhosts commands, as well as the provided links from Microsoft, and the host (Powershell-ISE, Visual studio code, powershell.exe, etc) might also be introducing settings. The issue was eventually solved due to an extra tick.
Read the entire article here...
Read the entire article here...
ControlUP Monitoring: Combining CVAD Logon Times with FSLogix Integration without UPM? Supported Configuration?
A user asked about running FSLogix and UPM together without issues. It was suggested to not use Director for logon times as ControlUp is more accurate and to focus on the Windows logon time. It was also recommended to use the logon duration analysis script provided by ControlUp and establish a baseline. Additionally, FSLogix integration interrogates a remote file share every 5 minutes and does not provide free space info, other than that it can be requested via Solve UserVoice. Links provided: https://www.controlup.com/resources/blog/entry/analyzing-logon-duration-just-got-better/, https://www.controlup.com/script-library-posts/enable-requirements-for-logon-duration-analysis/.
Read the entire article here...
Read the entire article here...
ControlUp Real-Time DX 8.8 (Hybrid Cloud) is Now GA
Are People Using PowerShell 5 or 7?
Most people are still using PowerShell 5 rather than 7 as PowerShell 7 does not have the ISE editor and some do not like Visual Studio Code. Depending on the goal, users are trying to use PowerShell 7 for their scripts, although it is not yet possible to do this within ControlUp Script Actions yet.
Read the entire article here...
Read the entire article here...
Scripts, Scripts, Scripts… ControlUp Scripts!
Script to List Installed Versions of the VDA and Functional Level of MC & DG?
A user asked if there's a script to list installed versions of the VDA as well as the functional level of the Master Catalog and Desktop Group. Suggestions were provided along with a script for functional level. It was recommended to put the functional level requirement as a roadmap item for the product.
Read the entire article here...
Read the entire article here...
Export-CUQuery: Troubleshooting Outlook Crashes and Cleaning Results in Excel?
A user asked questions about using Export-CUQuery to filter Outlook crashes and problems - Wouter replied suggesting running the query on different monitors and checking data types. It was suggested that the events are kept in the monitor in-memory database for 60 mins by default.
Read the entire article here...
Read the entire article here...