A user is experiencing extra blank lines in the Auto Action output log file when running with the .NET engine. They are seeking advice on how to suppress or clean up these lines automatically. Other users suggest checking for newlines in the messages and the use of string.join which could potentially add additional newlines. The post ends with a question about best practices surrounding newlines in messages.
Read the entire article here...
PowerShell Related Training & Support Archives
PowerShell training and support-related archives from inside the ControlUp Community on Slack.
Troubleshooting AppX Packages with FSLogix in ControlUp
Users discussed issues with black screens related to AppX packages when using FSLogix, and how this affects logon time. Suggestions were given to disable unnecessary AppX packages or block them through PowerShell or Group Policy, with examples provided. A resource from ControlUp, https://www.controlup.com/resources/blog/appx-packages-slowing-you-down/, was also shared for further assistance.
Read the entire article here...
Read the entire article here...
Reporting on High Network Utilization in ControlUp
A user is looking to report on applications with high Network Utilization in a Non-persistent environment. They suggest having a "Top 5" report for Network Usage. Another user recommends using the Process view in CU4VDI or the Monitor PowerShell query API to easily sort based on Network send or receive.
Read the entire article here...
Read the entire article here...
Suggestions for Tracking Devices at Specific Office Locations on ControlUp
A user is looking for a solution to track devices being used from a specific office location, but there is currently a bug in the location history report regarding Windows devices. Other users suggest using geolocation through Powershell, but there are limitations with Entra joined devices. Further suggestions include using workflows and advanced features.
Read the entire article here...
Read the entire article here...
ControlUp Users Discuss Trigger Export and Future Potential for Aggregated Alerts Portal
ControlUp users requested a PowerShell command to export all enabled triggers with configuration, and a possible solution was shared. It was mentioned that a new "alerts" portal will be available to aggregate all triggers, events, and alerts from physical, virtual, and Scoutbees, with potential for a public API in the future. This could improve IT service intelligence, mapping services to business processes. A one-time trigger export can help in understanding ControlUp's detailed alerting process, but interested users can speak to their CSM/TSN for early access to the beta version of the new alerts portal.
Read the entire article here...
Read the entire article here...
How to Create Toast Notifications in CU VDI using PowerShell and ControlUp
A user is asking for help writing a trigger in CU VDI that alerts users to clean up their D drive. Another user suggests using PowerShell with BurntToast to create toast notifications, but notes that it must be run in the user's session. They provide several methods for doing so, including running in each user's session and creating a scheduled task. Another user suggests writing a script that runs on the monitor instead of the target machine and uses Invoke-CUQuery and Invoke-CUAction to get information and run the toast notification script on the user's session. They note that there are some nuances that need to be figured out and suggest using Get-CUAvailableActions to get the action ID of the toast script. A working example is requested.
Read the entire article here...
Read the entire article here...
How to Get List of Monitored Services on ControlUp for Automated Actions
The team discussed ways to obtain the list of "monitored services" on ControlUp, specifically for a script-based action use-case. One user shared their script for starting Windows services in a Stopped state, another mentioned using the `Invoke-CUQuery` cmdlet to export the list of monitored services to a JSON file. Suggestions were also made to use the `ServiceDisplayName` record property as a parameter for a script action, which would retrieve the name of the service and pass it to the script. The discussion also referenced ControlUp modules and API calls for obtaining the list.
Read the entire article here...
Read the entire article here...
How to Run and View Output from PowerShell Scripts on ControlUp for Desktops
A user asked about how to run a PowerShell script and view the output for desktops on ControlUp. Gemini provided a helpful answer, explaining that a script can be created and run through the Scripts section in the ControlUp for Desktops console, with the output appearing in the Device Events log. The user tagged @member for feedback on this process. The steps to create a SIP event script were also provided.
Read the entire article here...
Read the entire article here...
How to Set Up ControlUp Alerts to Post into a Google Chat Space
A user is asking for help setting up ControlUp alerts to post into a Google Chat Space using webhooks. The issue seems to be on Google's side, as the alerts successfully trigger when tested on an external site. Suggestions for workaround or solutions are given, such as using ControlUp Workflows. Examples and instructions on how to format the HTTP POST within a ControlUp Workflow are provided. The user is able to successfully get it working with Workflows, but is still investigating what type of variables are supported to make the message more meaningful.
Read the entire article here...
Read the entire article here...
Tips for Configuring PowerShell Policies with ControlUp
One user asks for advice on dealing with restricted PowerShell Execution Policies, specifically at a customer who has set MachinePolicy to RemoteSigned, and asks for any general advisories on configuring policies in combination with ControlUp. Another user comments, saying that this shouldn't affect the execution of the script, and suggests trying an unrestricted policy instead. They also mention that signing the scripts is an option.
Read the entire article here...
Read the entire article here...
