

Let’s take for example Get-EXOMailbox from the previous example.

How do we tell which parameters/properties are usable with a Property Set? It is not documented in Get-Help or in the online help of Microsoft Docs. Thus, choosing between Properties and PropertySets should be based on how many attributes one would need to display. Connect to Azure AD The code below will register a new app in Azure AD with the name ExoV2App and assign the Exchange.ManageAsApp permission of the Office 365 Exchange Online API. While this provides the same results, it is already becoming quite unwieldy. First, open an elevated Windows PowerShell (run as admin) and make sure to connect to Azure AD. Property Sets Example: Old Method Get-Mailbox | Where | ft When using these cmdlets, it is important to note that we do indeed need to be aware of syntax and proper usage of the new parameters in order to get the correct data in Exchange Online. These cmdlets were chosen for two reasons – most likely to be used, but also the most likely to be slow or fail due to the amount of data returned and the load put on Exchange Online servers. Speed: With the two previous examples, combined they provide some additional speed and reliability for the nine new cmdlets. You need to install the module first, Try the following: Install-Module -Name ExchangeOnlineManagement Import-Module ExchangeOnlineManagement Regards, Milad Spice (4) flag Report 6 found this helpful thumbup thumbdown lock This topic has been locked by an administrator and is no longer open for commenting.Property Sets: Grouped sets of data that can be returned by PowerShell cmdlets.The EXO V2 cmdlets only return a subset of the data, which may challenge an admin to determine what they need. to Hybrid to download and configure the Exchange Online PowerShell Module. Reducing Data: Traditional PowerShell cmdlets return all data, even if all the data is not displayed. Exchange Online For Exchange Online, the Exchange Online PowerShell V2 module.
