![powershell visual studio code vs visual studio 2017 powershell visual studio code vs visual studio 2017](https://www.windowspro.de/sites/windowspro.de/files/imagepicker/14/vscode-download.png)
vscodeextention is used to manage VS Code extensions.īefore you can use any of these resources in a configuration script, you must first import the vscode module or a specific resource from this module.vscodesetup is used to install VS Code editor.This module contains a collection of DSC custom resources for installing VS Code and managing VS Code extensions.Īt present, this DSC resource module includes 2 resources. This is available on PowerShell Gallery as well.
![powershell visual studio code vs visual studio 2017 powershell visual studio code vs visual studio 2017](https://devblogs.microsoft.com/wp-content/uploads/sites/29/2019/02/1-HSG020617.png)
A couple of hours later, I got the DSC resource module for VS Code. So, I started writing a DSC resource module to wrap this functionality so that I can use a complete DSC-based method to build my development environment. code -uninstall-extension uninstalls an extension.code -install-extension installs an extension.code -list-extensions lists all installed extensions.VS Code version 1.2.0 has the command line parameters for managing extensions. So, that is when I reached out to David Wilson asking if there is a way to install these extensions using command anyway we can install extensions from commandline?- Ravikanth Chaganti June 6, 2016ĭavid mentioned that this capability was coming to 1.2.0 and by evening I saw tweets from him that 1.2.0 is released.
Powershell visual studio code vs visual studio 2017 how to#
I knew how to install VS Code editor from the command line but I wasn’t sure about the extensions.
![powershell visual studio code vs visual studio 2017 powershell visual studio code vs visual studio 2017](https://blog.gbrueckl.at/wp-content/uploads/2020/04/Databricks-VSCode.jpg)
Every time I do this, I end up installing VS Code and all the required extensions manually which isn’t a good use of keystrokes and mouse clicks (if any!). One of the items that gets reinstalled all the time is Visual Studio Code editor. I keep re-building my lab machines and in the process I rebuild my development virtual machines.