Exchange Online – A new Exchange Online PowerShell module v2 is now available in preview

For those working with Office 365 and Exchange Online, you already know that the Exchange Online PowerShell modules have been evolving and is now existing with a ‘version 2’ (see https://t.co/EdWQQr2g8U).

Well, the version 2 of Exchange Online PowerShell module is being updated again (currently available in preview) to remove the need for enabling WinRM basic auth and use REST API instead.

Please note as during this preview, not all of the Exchange command have been updated to remove the WinRM dependency.

All CMDlets can be made available by remoting using the –UseRPSSession when connecting to Exchange Online.

To disable WinRM you will run the below command in a command prompt using Run As Administrator

winrm set winrm/config/client/auth ‘@{Basic=”false”}’

Then you can install the new v2 version in preview using the command

Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.6-Preview3 –AllowPrerelease

Exchange Online – New version of the Exchange Online PowerShell (aka v2) is now available

As you know, managing Exchange and Exchange Online can be done from either the Exchange Administration Center (EAC) or with PowerShell modules.

Read More

Exchange Online – The new Exchange Online PowerShell module (v2) is now available

It has been announced at last year Ignite Conference (Ignite 2019) and since then has been in preview.

Read More

Exchange Online – Use the new Exchange Online PowerShell module v2 with Modern Authentication with your scripts (preview)

As you know, Microsoft is going to retire the basic authentication for Exchange Online PowerShell during the second half of 2021.

Read More