Friday, June 21, 2024
HomeMicrosoft 365ExchangeCmdlets in the Exchange Online PowerShell module

Cmdlets in the Exchange Online PowerShell module

If you’re looking for lightning-fast data retrieval in Exchange Online PowerShell, you’re in luck! All versions of the module boast nine unique Get-EXO* cmdlets designed for quick and efficient bulk data retrieval, even for thousands of objects. And don’t worry, the previous remote PowerShell cmdlets are still at your disposal.

Here’s a handy table listing the exclusive and enhanced Exchange Online PowerShell cmdlets that you’ll find only in this module:

The connection-related cmdlets in the module are listed in the following table:

EXO module cmdlet Older related cmdlet Comments
Connect-ExchangeOnline Connect-EXOPSSession in V1 of the module
or
New-PSSession
 
Connect-IPPSSession Connect-IPPSSession in V1 of the module  
Disconnect-ExchangeOnline Remove-PSSession  
Get-ConnectionInformation Get-PSSession Available in v3.0.0 or later.

Miscellaneous Exchange Online cmdlets that happen to be in the module are listed in the following table:

Cmdlet Comments
Get-DefaultTenantBriefingConfig Available in v3.2.0-Preview1 or later.
Set-DefaultTenantBriefingConfig Available in v3.2.0-Preview1 or later.
Get-DefaultTenantMyAnalyticsFeatureConfig Available in v3.2.0-Preview1 or later.
Set-DefaultTenantMyAnalyticsFeatureConfig Available in v3.2.0-Preview1 or later.
Get-MyAnalyticsFeatureConfig Available in v2.0.4 or later.
Set-MyAnalyticsFeatureConfig Available in v2.0.4 or later.
Get-UserBriefingConfig Replaced by Get-MyAnalyticsFeatureConfig.
Set-UserBriefingConfig Replaced by Set-MyAnalyticsFeatureConfig.
Get-VivaInsightsSettings Available in v2.0.5 or later.
Set-VivaInsightsSettings Available in v2.0.5 or later.
You download the module from the PowerShell gallery at https://www.powershellgallery.com/packages/ExchangeOnlineManagement/.
 

Set the PowerShell execution policy to RemoteSigned

To require all PowerShell scripts that you download from the internet are signed by a trusted publisher, run the following command in an elevated PowerShell window (a PowerShell window you open by selecting Run as administrator):

 
Set-ExecutionPolicy RemoteSigned

Most Popular