A user was looking for a way to reboot a server after an Event Viewer error had triggered maintenance mode and logged out all users. It was suggested to use two triggers - the first would put the server into maintenance mode and set a registry key, and the second would check the registry key and if it was present, reboot the server. The use of a PowerShell script was offered to create the registry key in the first trigger. To ensure that only servers with the 1005 error code were rebooted, the registry key would need to be checked.
Read the entire article here...
PowerShell Related Training & Support Archives
PowerShell training and support-related archives from inside the ControlUp Community on Slack.
How to automate “Force Reset VM” in the real-time console for a ControlUp Trigger?
A user asked if there is a way to automate a 'Force Reset VM' using the real-time console for a trigger. The ControlUp 8.8 Powershell module includes the option to use Solve Actions for this need. A sample script will be available at the end of the month.
Read the entire article here...
Read the entire article here...
What command is executed when you right click on a proces and “kill process”?
When right-clicking on a process and selecting "kill process" using the RT Console, the user asked what command is being executed. They needed to create an automated action to kill winlogon.exe, which is preventing sessions from logging out. It was suggested that they use the Powershell Cmdlets for SOLVE Actions, as found in the ControlUp documentation. Alternatively, a stop-process force or taskkill can be used as part of a logoff trigger.
Read the entire article here...
Read the entire article here...
Anyone used the ControlUp Powershell module to automate adding new servers to ControlUp?
Has anyone used the ControlUp powershell module to automate adding new servers to ControlUp?
Read the entire article here...
Read the entire article here...
Troubleshooting PowerBi Connections to ControlUp Edge DX API
A user could not connect MS Power Query or PowerBi to the Edge API and receive a list of table metadata, not the actual data. Another user suggested the query: "= Table.ExpandRecordColumn(#"Converted to Table1", "Column1", ... " and shared basic Web connector settings for the user to try. The user thanked the second user for their help.
Read the entire article here...
Read the entire article here...
Bypassing Group Policy for PowerShell Scripts
A user was trying to run a PowerShell script in a script action, but was having issues due to an execution policy blocking the script. The user wanted to know if it was possible to bypass the group policy, to which it was suggested this would be seen as a security vulnerability by Microsoft. A workaround of setting the execution policy on the current user was suggested and seemed to work.
Read the entire article here...
Read the entire article here...
Suggestion for Script to Create Log Bundles with ControlUp Infrastructure Servers
A user suggested creating a script to generate log bundles with logs from ControlUp infrastructure servers such as SBA, COP, IOP, etc. An example of such a script was AppSense-Support.vbs and this was used to successfully retrieve the logs. The ControlUp Script Library includes a script (https://www.controlup.com/script-library-posts/deploy-log4net-for-controlup-processes/) for generating log bundles for Cloud components, although it is more complicated to do so for on-prem components due to the large size of the logs.
Read the entire article here...
Read the entire article here...
Is there a ControlUp script to reset the hypervisor connection of VDIs with a specific power state?
Hello, I am not a developper, I can run a small quick and dirty script I wrote but I wish there was a proper script to reset the hypervisor connection o...
Read the entire article here...
Read the entire article here...
How to Send Messages Based on FSLogix Triggers
A user wanted to send a message to the user whose disk had low profile space using an FSLogix trigger, but the script action for this couldn't be used. Oliver suggested creating a trigger for disk space and then using a script follow-up action to find the user GUID/key, followed by a send message action. He also suggested using Powershell to get the session ID of the user and using the MSG.exe native functionality to send a message to a specific session, if multiple users were using the same machine. Dennis suggested adding a filter for FSLogix Disk Type to the Trigger filter editor, and Nicholas linked a script that is helpful for single session setup. The roadmap also includes FSLogix disks per user.
Read the entire article here...
Read the entire article here...
Error “Communication problem. Please try agai n in a few minutes” when new user’s sign into ControlUp Insights
New users were experiencing an error when logging in to the SaaS URL's, and it was observed through the discussion that they would need to open the console first. It was suggested that for Solve users, they can be created without touching the console with the help of PowerShell cmdlets, CSV import, and SAML. The option is not yet available for Insights.
Read the entire article here...
Read the entire article here...
