Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sheldonhull/1610f9e2c110fb415d40013d715a230a to your computer and use it in GitHub Desktop.
Save sheldonhull/1610f9e2c110fb415d40013d715a230a to your computer and use it in GitHub Desktop.
[Enabled & Installed VSCode Extensions] #vsocde #powershell
# Get Extension Data from Settings Sync, and put the list of extensions in this here block
$extensions = Get-Clipboard | convertfrom-json -depth 10
# $extensions = @'
# '@ | convertfrom-json -depth 10
$parsed = $extensions | Where {$_.disabled -ne $true -and $_.Installed -eq $true}
$parsed.Identifier
# Print output to copy
$Parsed.Identifier.id.ForEach{
"code --install-extension $($_)"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment