Yesterday, I blogged about my favorite four new PowerShell 2.0 features. The one I like most is Graphical PowerShell. Maybe "IDE" (Integrated Development Environment) is an exaggeration. Graphical PowerShell is still a very simple tool. But, I think, it is a good start, and I hope that Microsoft will keep on adding new features. In this post, you'll find some screenshots and a short description of Graphical PowerShell.
- Pip install Boto3 - Thu, Mar 24 2022
- Install Boto3 (AWS SDK for Python) in Visual Studio Code (VS Code) on Windows - Wed, Feb 23 2022
- Automatically mount an NVMe EBS volume in an EC2 Linux instance using fstab - Mon, Feb 21 2022
The first thing you should do before you start playing with Graphical PowerShell is to change the execution policy to "unrestricted". Otherwise, you won't be able to run scripts within Graphical PowerShell. Open a PowerShell prompt as administrator and type:
If you want to learn more about execution policies type:
Okay, let's start looking at Graphical PowerShell.
Syntax highlighting ^
Check out the screenshot and you'll see how Graphical PowerShell highlights syntax.
Multi-tabbed scripting pane ^
Grapical PowerShell allows you to open multiple scripts and you can switch between them using tabs.
Run scripts ^
In the upper pane, you can edit the scripts. After you saved it in a file, you can run it within Graphical PowerShell. The output of the script will be displayed in the middle pane.
Work on the command line ^
To work interactively with PowerShell you have to type in commands in the lower pane. The ouput will be displayed in the middle pane.
Multiple runspaces ^
The concept of runspaces is probably something for advanced PowerShell programmers. In Grapical PowerShell, you can consider them as different shells. Runspaces are organized in vertical tabs.