how to get a list of installed extensions in vscode code example
Example 1: vscode get list of installed extensions
code --list-extensions | % { "code --install-extension $_" }
Example 2: vscode get list of installed extensions
code --list-extensions | xargs -L 1 echo code --install-extension