In one of my previous posts we installed PowerShell 7 on Windows 10.

In my lab I installed PowerShell 7 on my Exchange 2016 Server. While there is no support for Exchange yet, Active Directory cmdlets work.

To install the preview you can run the command below from an elevated PowerShell Window:

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

Compared to Windows 10, the installation window appeared almost immediately after pressing enter and the setup then came up, no captions below the few screenshots as its self explanatory.

If you try and add a snapin using the Add-Snapin cmdlet, it fails with the error below:

However Active Directory cmdlets are available and you can see them on both versions below:

Just loving this new PowerShell. Try it out in your lab.

Advertisements