I was playing around with PowerShell 6 and 7 RC which a colleague showed me was available.

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”
Powershell:- list missing windows updates in windows 10(20h2)

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

Powershell:- list missing windows updates in windows 10(20h2)

Click next..

Powershell:- list missing windows updates in windows 10(20h2)

Select your install location, I left this as default.

Powershell:- list missing windows updates in windows 10(20h2)

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

Powershell:- list missing windows updates in windows 10(20h2)

Now click Install..

Powershell:- list missing windows updates in windows 10(20h2)

Setup takes a minute or so to complete..

Powershell:- list missing windows updates in windows 10(20h2)

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

Post Installation:

Powershell:- list missing windows updates in windows 10(20h2)

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>
Powershell:- list missing windows updates in windows 10(20h2)

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.

Very cool indeed.

Hope it helps.

    wpChatIcon

    Discover more from Everything-PowerShell

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

    Continue reading