Skip to main content

Update Visual Studio

Summary

This document updates all installed Visual Studio versions automatically using the ConnectWise RMM implementation of the agnostic script Update-VisualStudio.

Sample Run

Sample Run 1 Sample Run 2

Dependencies

Update-VisualStudio

Task Creation

Create a new Script Editor style script in the system to implement this task.

Task Creation Step 1 Task Creation Step 2

Name: Update Visual Studio
Description: Updates all installed VS versions automatically
Category: Application
Task Creation Step 3

Task

Navigate to the Script Editor section and start by adding a row. You can do this by clicking the Add Row button at the bottom of the script page.

Add Row

A blank function will appear.

Blank Function

Row 1 Function: PowerShell Script

Search and select the PowerShell Script function.

Select PowerShell Script PowerShell Script Function

The following function will pop up on the screen:

PowerShell Script Pop Up

Paste in the following PowerShell script and set the Expected time of script execution in seconds to 900 seconds. Click the Save button.

PowerShell Script

PowerShell Script Example

Row 2 Function: Script Log

Add a new row by clicking the Add Row button.

Add Row for Script Log

A blank function will appear.

Blank Function for Script Log

Search and select the Script Log function.

Select Script Log

The following function will pop up on the screen:

Script Log Pop Up

In the script log message, simply type %Output% and click the Save button.

Script Log Save

Click the Save button at the top-right corner of the screen to save the script.

Final Save

Completed Task

Completed Task

Output

  • Script log

Changelog

2025-04-10

  • Initial version of the document