I often find that I’ll jump on to a server, PC or laptop and I’m trying to run commands in PowerShell that it doesn’t understand. Normally because it’s an old version of PowerShell, certain modules aren’t installed or I’m just bad at typing.
Here’s where to get the latest version of Windows PowerShell and EXO V2 that you will need if you’re working with Exchange Online.
PowerShell 7
https://aka.ms/PSWindows
Exchange Online Management
https://www.powershellgallery.com/packages/ExchangeOnlineManagement/
At the time of writing the following command will get you the module…
Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.5
Check what modules are installed…
Get-InstalledModule