Last active
July 21, 2021 21:31
-
-
Save sheldonhull/1610f9e2c110fb415d40013d715a230a to your computer and use it in GitHub Desktop.
[Enabled & Installed VSCode Extensions] #vsocde #powershell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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