SWM - Software Update - Upgrade Visual Studio Code Latest
Summary
The purpose of this script is to update the installed version of Visual Studio Code to the latest available version.
If the User Installer
is installed, then the user must be logged on to the computer for the script to work. If the user is using the application, they will be prompted to close it:
The application cannot be upgraded if it is running.
This prompt is inevitable for computers with the User Installer
version of the application installed and should not be canceled:
Note: The script cannot be used to install a new instance of the application.
Sample Run
Variables
Name | Description |
---|---|
LatestVersion | Latest version of the application released by Microsoft |
DownloadURL | URL to download the latest version of the application |
Log | Script log to write before exiting |
Output
- Script logs