In my previous blog post on running Python scripts from PowerShell (Article Here), I was keen to test out the same thing but using PowerShell V7 instead of PowerShell V5.1 that comes with Windows 10.

I used the same script as I did previously in PowerShell V7 and here is the output:

  • python PowerShell.py
Powershell v7:- upgrade from v7.0.3 to v7.1.0 from the command line.

As you can see, it runs without error on the new version of PowerShell. Below is a comparison between the two versions:

Powershell v7:- upgrade from v7.0.3 to v7.1.0 from the command line.

The darker window makes it easier to identify things compared to the lighter window but each has there own preference.

Hope it helps.

Discover more from Everything-PowerShell

Subscribe now to keep reading and get access to the full archive.

Continue reading