You can run code or an entire script conveniently from the editor in Visual Studio Code (VSCode) with the Code Runner extension. The VSCode PowerShell extension adds other important features that you know from PowerShell ISE.
Source : 4sysops
You can run code or an entire script conveniently from the editor in Visual Studio Code (VSCode) with the Code Runner extension. The VSCode PowerShell extension adds other important features that you know from PowerShell ISE.