Winscripting

From TheBestLinux.com
Jump to navigation Jump to search

First and foremost, you need a good text editor and Microsoft's FREE Visual Studio Code(VS Code) is just what you need to get started editing other's scripts and creating your own! Sure, there are other IDE's with more bells & whistles, but VS Code has all you should need to get good and started!

The WinGet command line tools saves you a LOT of time and trouble trying to find the file online, then download, extract and install it within Windows. VS Code is also available for MAC AND LINUX as well!

Here is a command you can copy and paste easily into an administrator command line to install VS Code without user intervention:

winget install -e --id Microsoft.VisualStudioCode --accept-source-agreements



Confirm it works by opening up it within Windows, ensuring the GUI pop's up with VS Code ready and waiting for you to start typing some code.
This same concept can be applied to a number of MS tools to ease automation of tool installations.