Install-VSCode

1.2

This script can be used to easily install Visual Studio Code and the
PowerShell extension on your machine.  You may also specify additional
extensions to be installed using the -AdditionalExtensions parameter.
The -LaunchWhenDone parameter will cause VS Code to be launched as
soon as installation has completed.

Please contribute improvements to this script on GitHub!
This script can be used to easily install Visual Studio Code and the
PowerShell extension on your machine.  You may also specify additional
extensions to be installed using the -AdditionalExtensions parameter.
The -LaunchWhenDone parameter will cause VS Code to be launched as
soon as installation has completed.

Please contribute improvements to this script on GitHub!

https://github.com/PowerShell/vscode-powershell/blob/develop/scripts/Install-VSCode.ps1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Install-VSCode

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Microsoft

Copyright

(c) Microsoft Corporation

Owners

Tags

install vscode installer

Dependencies

This script has no dependencies.

Release Notes

20/03/2018 - fix OS detection to prevent error
--
28/12/2017 - added functionality to support 64-bit versions of VSCode
& support for installation of VSCode Insiders Edition.
--
Initial release.

Version History

Version Downloads Last updated
1.2 (current version) 3,559 3/26/2018
1.0 3,119 5/7/2017