Share via


Windows 10: Enable PowerShell V7

Firstly to get the new version, you need to run the following command below: (Note it includes the -Preview switch)

iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI -Preview"

https://everything-powershell.com/wp-content/uploads/2020/03/image-1.png

It does take a few minutes to bring up the installation window as shown below:

https://everything-powershell.com/wp-content/uploads/2020/03/image-2.png

Click next..

https://everything-powershell.com/wp-content/uploads/2020/03/image-3.png

Select your install location, I left this as default.

https://everything-powershell.com/wp-content/uploads/2020/03/image-4.png

Make your selection above, I chose the defaults and clicked next...

https://everything-powershell.com/wp-content/uploads/2020/03/image-5.png

Now click Install..

https://everything-powershell.com/wp-content/uploads/2020/03/image-6.png

Setup takes a minute or so to complete..

https://everything-powershell.com/wp-content/uploads/2020/03/image-7.png

On the finish screen you have the option to select "Launch PowerShell" and then click Finish.

Post Installation:

https://everything-powershell.com/wp-content/uploads/2020/03/image-8.png

As you can see, you are presented with a black window vs the standard blue one that comes with PowerShell.

The nice thing about this is that you can now run the Test-connection command vs doing a ping to a domain.

The command to use is:

Test-Coonnection -TargetName <Domain>

https://everything-powershell.com/wp-content/uploads/2020/03/image-9.png

As you can see it gives you the source and destination address as well as the latency, BufferSize and Status compared to a normal ping.