• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
ControlUp Community

ControlUp Community

Connect, Learn, and Grow

  • Blog
  • Podcast
  • Meetups
  • Archives
  • Categories
    • ControlUp One Platform
    • ControlUp for Apps
    • ControlUp for Compliance
    • ControlUp for Desktops
    • ControlUp Scripts & Triggers
    • ControlUp Synthetic Monitoring
    • ControlUp for VDI
  • Topics
  • Events
    • Logos & Wallpaper
    • ControlUp.com
  • Join

PowerShell Related Training & Support Archives

PowerShell training and support-related archives from inside the ControlUp Community on Slack.


ControlUp Script Batch Release – June 25, 2023

Posted on June 29, 2023

ControlUp's new script batch features four categories, with the focus of this blog post on scripting using new CUActions APIs. This includes 'List Available CUActions', 'Power On Generic VM', 'Force Power Off Generic VM', and 'Logoff Disconnected Sessions'. The post details how to write and use these scripts, including techniques for loading the appropriate DLL, identifying and invoking the correct CUAction, and querying the monitor table. The 'Logoff Disconnected Sessions' script, for instance, fetches data in chunks and logs off all disconnected sessions for a selected user.

Read the entire article here...


Troubleshooting ControlUp Script Show Horizon View Usage

Posted on June 23, 2023

A user asked about the ControlUp script https://www.controlup.com/script-library-posts/show-horizon-view-usage/. An error occurred due to a missing module ("VMware.VimAutomation.HorizonView") which can be resolved by installing it with a 'Install-Module' command using the '-Scope AllUsers' parameter. The need for the scope was explained, and additional tips were provided regarding Automated Actions and where the script should run. An update to the script will be available in the July release.

Read the entire article here...


Best Practices for Upgrading ControlUp on a New VM

Posted on June 22, 2023

Users discussed best practices for upgrading ControlUp by moving it to a new VM; this includes backing up the Console machine's appdata folder and republishing the configuration, as well as reusing the existing database. It was suggested that the platform's consoles and monitors should logon to the new name and IP, while the agent auth key should be migrated using PowerShell commands. Uninstalling the monitors and data collectors was suggested because of the name change.

Read the entire article here...


Automating a Reboot with Two Triggers in ControlUp

Posted on June 21, 2023

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...


How to automate “Force Reset VM” in the real-time console for a ControlUp Trigger?

Posted on June 20, 2023

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...


What command is executed when you right click on a proces and “kill process”?

Posted on June 19, 2023

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...


Anyone used the ControlUp Powershell module to automate adding new servers to ControlUp?

Posted on June 12, 2023

Has anyone used the ControlUp powershell module to automate adding new servers to ControlUp?

Read the entire article here...


Troubleshooting PowerBi Connections to ControlUp Edge DX API

Posted on June 6, 2023

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...


Bypassing Group Policy for PowerShell Scripts

Posted on June 2, 2023

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...


Suggestion for Script to Create Log Bundles with ControlUp Infrastructure Servers

Posted on June 1, 2023

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...


  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 12
  • Page 13
  • Page 14
  • Page 15
  • Page 16
  • Interim pages omitted …
  • Page 19
  • Go to Next Page »

Primary Sidebar

ControlUp Academy

Enroll in ControlUp Academy for expert-led technical training, equipping you with skills to effectively deploy, manage, and grow your ControlUp investment.

Learn here >

Rotating Images

Hidden Gem from our Community on Slack!

ControlUp Betas - What's Coming Next?
NEW ControlUp Features - Stay Up-to-Date!
ControlUp Scripts - Scripting, Zero to Hero
Latest KB Articles - Be the First to Learn
Did you Know - with Sivan Kroitoru
Practical Perspectives Technical Use Case Training

Video Tutorials Library

Visit our technical how-to videos, offering step-by-step tutorials on advanced features, troubleshooting, and best practices.

Watch here >

ControlUp Blog

Check out the ControlUp blog for expert advice and in-depth analysis.

Read here >

ControlUp Script Library

Visit the ControlUp technical script library, which offers a multitude of pre-built scripts and custom actions for your monitoring and troubleshooting requirements.

See here >

ControlUp Support

Visit the ControlUp support home and to delve deeper into ControlUp solutions.

Browse here >

Download ControlUp RealTime DX

Start with ControlUp for real-time end-user environment insights, swift troubleshooting, and unprecedented performance optimization. Download now.

Download here >

Footer

      

ControlUp Community
Of Techie, By Techie, For Techie!

Terms of Use | Privacy Policy | Security
Dive Deeper, Learn more at ControlUp.com

  • facebook
  • twitter
  • youtube
  • linkedin

© 2023–2025 ControlUp Technologies LTD, All Rights Reserved.

We use cookies to ensure that we give you the best experience on our website. by continuing to use this site you agree to our Cookie policy..