Powershell 7 is out. Haven’t you installed it yet?

Earlier this month Powershell 7 went GA and it is a new major release 2 years after the previous one. I always think that whenever a new major version is out it is definitely time to install it.
What I generally do and suggest everybody do the same is to look at the new features, at the deprecated ones if any and most importantly to see what’s the impact or implications for the code that I will consider to run on PowerShell core in this case.

The official announcement contains all the information you need so without further ado read it before installing it.

Announcing PowerShell 7.0

A very interesting method of installing it is by using PowerShell :

Without aliases:

And of course, you can run this code remotely with invoke-command against one or more endpoints (remember to use –quiet for unattended installations):

As usual, you can find on my GitHub repository these scripts.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.