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. Powershell v7:- upgrade from v7.0.3 to v7.1.0 from the command line.](https://everything-powershell.com/wp-content/uploads/2020/12/image-25.png)
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. Powershell v7:- upgrade from v7.0.3 to v7.1.0 from the command line.](https://everything-powershell.com/wp-content/uploads/2020/12/image-26.png)
The darker window makes it easier to identify things compared to the lighter window but each has there own preference.
Hope it helps.