Using PowerShell Pro Tools for Visual Studio Code you can automate the editor itself. This allows you to script repetitive actions you may take within Visual Studio Code. You can edit documents, show information and more.
To automate Visual Studio Code, you will need to first import the PowerShell Pro Tools VS Code module .
PS C:\> Import-Module PowerSHellProTools.VSCode
Once the module is loaded, you can begin running commands.