ExchangeOnlineManagement 3.9.0-Preview1 released

ExchangeOnlineManagement 3.9.0-Preview1 released

Hi All,

A few days ago, Microsoft has released the ExchangeOnlineManagement 3.9.0-Preview1 PowerShell Module.

v3.9.0-Preview1:

  • Introduce -EnableSearchOnlySession switch in Connect-IPPSSession cmdlet, which enables certain eDiscovery and related cmdlets that connect to other M365 services

I am using the new PSResourceGet here instead of the PowerShellGet commands.

Show installed Versions and what’s available in PowerShell Gallery. You need to use the -Prerelease Parameter to show Preview Versions of a Module

Get-InstalledPSResource ExchangeOnlineManagement -Scope CurrentUser
Find-PSResource ExchangeOnlineManagement -Prerelease

Uninstall old Module

Uninstall-PSResource ExchangeOnlineManagement -Scope CurrentUser -SkipDependencyCheck

I’ve updated the M365PSProfile PowerShell Module and the Uninstall-M365Module Function with the Parameter -FileMode. It will delete the Module Folder of that Module.

Uninstall-M365Module -Modules ExchangeOnlineManagement -Scope CurrentUser -FileMode

Installing the Module and show the installed Module

Install-PSResource -Name ExchangeOnlineManagement -Scope CurrentUser -Prerelease
Get-InstalledPSResource -Name ExchangeOnlineManagement -Scope CurrentUser

Connect to Exchange Online and get a Mailbox

Connect-ExchangeOnline -ShowBanner:$false
Get-Mailbox -Identity a.bohren@icewolf.ch

Disconnect from Exchange Online

Disconnect-Exchange Online

Let’s connect with the new Parameter -EnableSearchOnlySession and see what commands are available

Connect-IPPSSession -ShowBanner:$false -EnableSearchOnlySession
Get-Module
Get-Command -Module tmpEXO_blhd54wu.4fs

Regards
Andres Bohren

Exchange Logo

PowerShell Logo