-
Is it possible to install VSCode extensions using a YAML configure file? ATM i'm installing my VSCode extensions using PS commands after running Winget configure. It would be great if i can somehow manage to put these in my YAML config file. Then i'm able to setup my whole dev environment using Winget configure only. PS commands i currently use: vscode YAML config: It would be great if someone can point me to the right direction |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The trick is finding the right DSC resource. Searching the PowerShell Gallery, I was able to find the vscode package. Once you import the module, you can use Here's an example -
|
Beta Was this translation helpful? Give feedback.
The trick is finding the right DSC resource. Searching the PowerShell Gallery, I was able to find the vscode package. Once you import the module, you can use
$(Get-DscResource).Where({$_.ModuleName -eq 'vscode'})
to see all the resources the module provides as well as what properties they accept.Here's an example -