A discussion about different options for using parameters in Powershell scripts was brought up, including using $args without a [param] block, using a [param] block with named parameters, or not specifying parameters at all. The advice given was to only use named parameters with a [param] block for proper integration with ControlUp. Examples of these options were provided.
Read the entire article here...
PowerShell Related Training & Support Archives
PowerShell training and support-related archives from inside the ControlUp Community on Slack.
Troubleshooting SecureDX Agent Installation
There was an issue with the installation of the SecureDX agent due to an unsigned PowerShell script. The customer did not want to change the ExecutionPolicy and the team was unable to find any documentation on the topic. The agent is installed through a script added to the edge dx script list, which will not work if blocked.
Read the entire article here...
Read the entire article here...
Upcoming Feature: Triggering Windows Events with “Information” Type on ControlUp
A user asked if it was possible to trigger windows events with "Information" type, and was informed that this is not currently supported. However, it will be available in a future release and a PowerShell script can be used as a temporary workaround. Another user thanked for the information and asked if there was a feature request submitted for this. The team at ControlUp responded that enhanced log monitoring, including triggers for Information-level events, will be integrated soon and they are looking for partners to help understand use cases. There was a question about adding trending for events and the response clarified this as having a trend analysis for events.
Read the entire article here...
Read the entire article here...
Event Log Triggers and Incidents in ControlUp
In a Slack discussion about event log triggers and incidents, a user asked if a new trigger could be created for a specific event log source and if it would still be logged as an incident if no follow-up action was attached. Another user suggested using the "Events" tab at the bottom for live events, while another recommended using Powershell to retrieve events captured through incidents. The "Top Windows Events" report in DEX was also suggested as a potential resource.
Read the entire article here...
Read the entire article here...
Adding Servers to ControlUp from a CSV File
A question was posed about adding servers to ControlUp from a CSV file. It was suggested to use Powershell, and a link to a support article on Active Directory Organizational Unit sync was provided.
Read the entire article here...
Read the entire article here...
Troubleshooting Monitor Service Installation on RTC Server
A user encountered an issue when attempting to install Monitor Service on their RTC server. Upon clicking "Remove", a "Redeploy" option appeared instead. The solution was to remove the service and re-add it using the powershell command located at https://support.controlup.com/v1/docs/90-powershell-cmdlets#import-cmdlets.
Read the entire article here...
Read the entire article here...
ControlUp Academy’s Open Office Hours – What’s New and What’s Next?
ControlUp Academy creates new Open Office Hours sessions based on hot topics seen within the community. Topics discussed in the past include trigger and security policy best practices, as well as migration to DEX. Suggestions for future sessions were also asked for, including a deep dive on "Analyze Logon Duration", useful script actions, presets, custom dashboards, and more. Academy link: must be entered manually.
Read the entire article here...
Read the entire article here...
Setting up an RDS Server Trigger and Script with ControlUp Academy
A discussion on setting up a trigger for an email notification for an RDS server with a powershell script was held. It was suggested to check the Windows event log and run a script when the trigger is fired. The email should only be sent once and not for all 3 servers in the folder. ControlUp Academy offers training for scripting.
Read the entire article here...
Read the entire article here...
Maximizing Use of ControlUp Academy and Running Scripts on All Machines
The discussion inquired about the functionality of ControlUp Academy, a training platform that offers free self-training and instructor-led content. Certifications from ControlUp are also available. Suggestions were given on how to filter out machines without the agent in order to properly run a PowerShell script on all machines. Additionally, it was recommended to disconnect from all extensions and connect to a specific folder in order to avoid complications with unmanaged machines. Local machine accounts are used when running a script, but the agent must be connected to the tree for it to function properly.
Read the entire article here...
Read the entire article here...
Troubleshooting Script Issues with “Power On Generic VM” in ControlUp
A user reported encountering an issue with the "Power On Generic VM" script while using ControlUp at a customer's site. Others responded with potential solutions and one user shared their process for releasing scripts on the ControlUp Community Slack channel. The original poster planned to run the script in a trigger on powered off VMs and asked if this would affect permissions. The conversation also delved into the necessary user permissions for scripts that use invoke-cuquery or similar functions and the importance of running as a domain user. A linked to a previous post about releasing scripts on the ControlUp Community Slack channel was also shared.
Read the entire article here...
Read the entire article here...