The Get-EXOMailbox cmdlet is the new and improved version of Get-Mailbox.
To use the Get-EXOMailbox cmdlet you need to install the Exchange Online Management PowerShell module (aka EXO V2).
The Exchange Online V2 module is currently in preview but you should start using it in your scripts today: Remote Exchange Online PowerShell is depending on basic authentication which is scheduled for removal.
Although basic authentication for Exchange Online has just been extended until 2021 due to Corona virus, basic authentication will eventually go away.
If you haven’t already installed the new Exchange Online module have a look at this article. If you’re all set up, let’s have a look at the new features of this command.
Get-EXOMailbox – What’s New?
The main update in the new Get-EXOMailbox cmdlet is definitely the use of minimum set of properties. The change affects 9 cmdlets so far, but this article will focus on Get-EXOMailbox.
The old Get-Mailbox cmdlet will retrieve all of the mailbox properties. The new Get-EXOMailbox, by default, will only retrieve a minimum set of properties.
To illustrate how big the difference actually is, let’s compare the two outputs.
Formatted as json the output of the old Get-Mailbox cmdlet includes a lot of information. The following sample output weighs in at about +14 KB:
PS C:\> Get-Mailbox ole.roemer | ConvertTo-Json { "PSComputerName": "outlook.office365.com", "RunspaceId": "929a4c6e-6495-4fa9-9e4d-c4b613652e9f", "PSShowComputerName": false, "Database": "EURP189DG049-db085", "DatabaseGuid": "ec7f30e1-4251-458a-b69c-ccfe4f426b10", "MailboxProvisioningConstraint": null, "IsMonitoringMailbox": false, "MailboxRegion": null, "MailboxRegionLastUpdateTime": null, "MessageRecallProcessingEnabled": true, "MessageCopyForSentAsEnabled": false, "MessageCopyForSendOnBehalfEnabled": false, "MailboxProvisioningPreferences": [], "UseDatabaseRetentionDefaults": false, "RetainDeletedItemsUntilBackup": false, "DeliverToMailboxAndForward": false, "IsExcludedFromServingHierarchy": false, "IsHierarchyReady": true, "IsHierarchySyncEnabled": true, "HasSnackyAppData": false, "LitigationHoldEnabled": false, "SingleItemRecoveryEnabled": true, "RetentionHoldEnabled": false, "EndDateForRetentionHold": null, "StartDateForRetentionHold": null, "RetentionComment": "", "RetentionUrl": "", "LitigationHoldDate": null, "LitigationHoldOwner": "", "ElcProcessingDisabled": false, "ComplianceTagHoldApplied": false, "WasInactiveMailbox": false, "DelayHoldApplied": false, "DelayReleaseHoldApplied": false, "InactiveMailboxRetireTime": null, "OrphanSoftDeleteTrackingTime": null, "LitigationHoldDuration": "Unlimited", "ManagedFolderMailboxPolicy": null, "RetentionPolicy": "Default MRM Policy", "AddressBookPolicy": null, "CalendarRepairDisabled": false, "ExchangeGuid": "330cf960-915d-4b5e-af9c-35e5cddaabff", "MailboxContainerGuid": null, "UnifiedMailbox": null, "MailboxLocations": [ "1;330cf960-915d-4b5e-af9c-35e5cddaabff;Primary;EURP189.PROD.OUTLOOK.COM;ec7f30e1-4251-458a-b69c-ccfe4f426b10" ], "AggregatedMailboxGuids": [], "ExchangeSecurityDescriptor": "System.Security.AccessControl.RawSecurityDescriptor", "ExchangeUserAccountControl": "None", "AdminDisplayVersion": "Version 15.20 (Build 2958.21)", "MessageTrackingReadStatusEnabled": true, "ExternalOofOptions": "External", "ForwardingAddress": null, "ForwardingSmtpAddress": null, "RetainDeletedItemsFor": "14.00:00:00", "IsMailboxEnabled": true, "Languages": [], "OfflineAddressBook": null, "ProhibitSendQuota": "49 GB (52,613,349,376 bytes)", "ProhibitSendReceiveQuota": "50 GB (53,687,091,200 bytes)", "RecoverableItemsQuota": "30 GB (32,212,254,720 bytes)", "RecoverableItemsWarningQuota": "20 GB (21,474,836,480 bytes)", "CalendarLoggingQuota": "6 GB (6,442,450,944 bytes)", "DowngradeHighPriorityMessagesEnabled": false, "ProtocolSettings": [ "MAPI§1§0§§§0§§§§§0", "PublicFolderClientAccess§0", "IMAP4§1§§§§§§§§§§§§", "POP3§1§§§§§§§§§§§§1", "ECP§1", "HTTP§1§1§§§§§§", "OWA§1" ], "RecipientLimits": "500", "ImListMigrationCompleted": false, "SiloName": null, "IsResource": false, "IsLinked": false, "IsShared": false, "IsRootPublicFolderMailbox": false, "LinkedMasterAccount": "", "ResetPasswordOnNextLogon": false, "ResourceCapacity": null, "ResourceCustom": [], "ResourceType": null, "RoomMailboxAccountEnabled": null, "SamAccountName": "Ole R52778-377860086", "SCLDeleteThreshold": null, "SCLDeleteEnabled": null, "SCLRejectThreshold": null, "SCLRejectEnabled": null, "SCLQuarantineThreshold": null, "SCLQuarantineEnabled": null, "SCLJunkThreshold": null, "SCLJunkEnabled": null, "AntispamBypassEnabled": false, "ServerLegacyDN": "/o=ExchangeLabs/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=DB8P189MB0619", "ServerName": "db8p189mb0619", "UseDatabaseQuotaDefaults": false, "IssueWarningQuota": "43 GB (46,170,898,432 bytes)", "RulesQuota": "256 KB (262,144 bytes)", "Office": "test", "UserPrincipalName": "ole.roemer@skrubbeltrang.onmicrosoft.com", "UMEnabled": false, "MaxSafeSenders": null, "MaxBlockedSenders": null, "NetID": "100320003CBA1EB8", "ReconciliationId": null, "WindowsLiveID": "ole.roemer@skrubbeltrang.onmicrosoft.com", "MicrosoftOnlineServicesID": "ole.roemer@skrubbeltrang.onmicrosoft.com", "ThrottlingPolicy": null, "RoleAssignmentPolicy": "Default Role Assignment Policy", "DefaultPublicFolderMailbox": null, "EffectivePublicFolderMailbox": null, "SharingPolicy": "Default Sharing Policy", "RemoteAccountPolicy": null, "MailboxPlan": "ExchangeOnline-d4d070c6-f210-4d20-a652-862bfd8cc37a", "ArchiveDatabase": null, "ArchiveDatabaseGuid": "00000000-0000-0000-0000-000000000000", "ArchiveGuid": "00000000-0000-0000-0000-000000000000", "ArchiveName": [], "JournalArchiveAddress": "", "ArchiveQuota": "50 GB (53,687,091,200 bytes)", "ArchiveWarningQuota": "45 GB (48,318,382,080 bytes)", "ArchiveDomain": null, "ArchiveStatus": "None", "ArchiveState": "None", "AutoExpandingArchiveEnabled": false, "DisabledMailboxLocations": false, "RemoteRecipientType": "Migrated", "DisabledArchiveDatabase": null, "DisabledArchiveGuid": "00000000-0000-0000-0000-000000000000", "QueryBaseDN": null, "QueryBaseDNRestrictionEnabled": false, "MailboxMoveTargetMDB": null, "MailboxMoveSourceMDB": null, "MailboxMoveFlags": "None", "MailboxMoveRemoteHostName": "", "MailboxMoveBatchName": "", "MailboxMoveStatus": "None", "MailboxRelease": "E15", "ArchiveRelease": "", "IsPersonToPersonTextMessagingEnabled": false, "IsMachineToPersonTextMessagingEnabled": true, "UserSMimeCertificate": [], "UserCertificate": [], "CalendarVersionStoreDisabled": false, "ImmutableId": "", "PersistedCapabilities": [ "BPOS_S_Standard" ], "SKUAssigned": true, "AuditEnabled": true, "AuditLogAgeLimit": "90.00:00:00", "AuditAdmin": [ "Update", "MoveToDeletedItems", "SoftDelete", "HardDelete", "SendAs", "SendOnBehalf", "Create", "UpdateFolderPermissions", "UpdateInboxRules", "UpdateCalendarDelegation" ], "AuditDelegate": [ "Update", "MoveToDeletedItems", "SoftDelete", "HardDelete", "SendAs", "SendOnBehalf", "Create", "UpdateFolderPermissions", "UpdateInboxRules" ], "AuditOwner": [ "Update", "MoveToDeletedItems", "SoftDelete", "HardDelete", "UpdateFolderPermissions", "UpdateInboxRules", "UpdateCalendarDelegation" ], "DefaultAuditSet": [ "Admin", "Delegate", "Owner" ], "WhenMailboxCreated": "/Date(1550502270000)/", "SourceAnchor": "", "UsageLocation": "Denmark", "IsSoftDeletedByRemove": false, "IsSoftDeletedByDisable": false, "IsInactiveMailbox": false, "IncludeInGarbageCollection": false, "WhenSoftDeleted": null, "InPlaceHolds": [], "GeneratedOfflineAddressBooks": [], "AccountDisabled": false, "StsRefreshTokensValidFrom": "/Date(1582726007000)/", "NonCompliantDevices": [], "EnforcedTimestamps": "[ {\"EventTimestamp\":\"2020-02-26T14:06:47.567Z\",\"EnforcedUntilTimestamp\":\"2020-02-26T14:01:47.477Z\",\"EventType\":19}, {\"EventTimestamp\":\"2020-02-26T14:06:47.567Z\",\"EnforcedUntilTimestamp\":\"2020-02-26T14:01:47.477Z\",\"EventType\":17}, {\"EventTimestamp\":\"2020-02-26T14:06:47.866Z\",\"EnforcedUntilTimestamp\":\"2020-02-26T14:01:47Z\",\"EventType\":17}, {\"EventTimestamp\":\"2020-02-26T14:00:58.528Z\",\"EnforcedUntilTimestamp\":\"2020-02-26T13:55:19Z\",\"EventType\":1}, {\"EventTimestamp\":\"2020-02-26T14:00:58.53Z\",\"EnforcedUntilTimestamp\":\"2020-02-26T13:55:19Z\",\"EventType\":17}]", "DataEncryptionPolicy": null, "Extensions": [], "HasPicture": true, "HasSpokenName": false, "IsDirSynced": true, "AcceptMessagesOnlyFrom": [], "AcceptMessagesOnlyFromDLMembers": [], "AcceptMessagesOnlyFromSendersOrMembers": [], "AddressListMembership": [ "\\All Mailboxes(VLV)", "\\Mailboxes(VLV)", "\\Offline Global Address List", "\\All Users", "\\All Recipients(VLV)", "\\Default Global Address List" ], "AdministrativeUnits": [], "Alias": "ole.roemer", "ArbitrationMailbox": null, "BypassModerationFromSendersOrMembers": [], "OrganizationalUnit": "eurp189a004.prod.outlook.com/Microsoft Exchange Hosted Organizations/skrubbeltrang.onmicrosoft.com", "CustomAttribute1": "somevalue", "CustomAttribute10": "anothervalue", "CustomAttribute11": "", "CustomAttribute12": "", "CustomAttribute13": "", "CustomAttribute14": "", "CustomAttribute15": "", "CustomAttribute2": "", "CustomAttribute3": "", "CustomAttribute4": "", "CustomAttribute5": "", "CustomAttribute6": "", "CustomAttribute7": "", "CustomAttribute8": "", "CustomAttribute9": "", "ExtensionCustomAttribute1": [], "ExtensionCustomAttribute2": [], "ExtensionCustomAttribute3": [], "ExtensionCustomAttribute4": [], "ExtensionCustomAttribute5": [], "DisplayName": "Ole Roemer", "EmailAddresses": [ "smtp:ole.roemer@skrubbeltrang.mail.onmicrosoft.com", "SMTP:ole.roemer@skrubbeltrang.onmicrosoft.com" ], "GrantSendOnBehalfTo": [], "ExternalDirectoryObjectId": "0a3a7d4d-ec4f-411a-a501-362b982fa57b", "HiddenFromAddressListsEnabled": false, "LastExchangeChangedTime": null, "LegacyExchangeDN": "/o=ExchangeLabs/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=8c1d339056904405ac23d5c65d4c4c03-Ole Roemer", "MaxSendSize": "35 MB (36,702,208 bytes)", "MaxReceiveSize": "36 MB (37,750,784 bytes)", "ModeratedBy": [], "ModerationEnabled": false, "PoliciesIncluded": [], "PoliciesExcluded": [ "{26491cfc-9e50-4857-861b-0cb8df22b5d7}" ], "EmailAddressPolicyEnabled": false, "PrimarySmtpAddress": "ole.roemer@skrubbeltrang.onmicrosoft.com", "RecipientType": "UserMailbox", "RecipientTypeDetails": "UserMailbox", "RejectMessagesFrom": [], "RejectMessagesFromDLMembers": [], "RejectMessagesFromSendersOrMembers": [], "RequireSenderAuthenticationEnabled": false, "SimpleDisplayName": "", "SendModerationNotifications": "Always", "UMDtmfMap": [ "lastNameFirstName:763637653", "firstNameLastName:653763637", "emailAddress:653763637" ], "WindowsEmailAddress": "ole.roemer@skrubbeltrang.onmicrosoft.com", "MailTip": null, "MailTipTranslations": [], "Identity": "Ole Roemer", "Id": "Ole Roemer", "IsValid": true, "ExchangeVersion": "0.20 (15.0.0.0)", "Name": "Ole Roemer", "DistinguishedName": "CN=Ole Roemer,OU=skrubbeltrang.onmicrosoft.com,OU=Microsoft Exchange Hosted Organizations,DC=EURP189A004,DC=PROD,DC=OUTLOOK,DC=COM", "ObjectCategory": "EURP189A004.PROD.OUTLOOK.COM/Configuration/Schema/Person", "ObjectClass": [ "top", "person", "organizationalPerson", "user" ], "WhenChanged": "/Date(1588341802000)/", "WhenCreated": "/Date(1550494839000)/", "WhenChangedUTC": "/Date(1588341802000)/", "WhenCreatedUTC": "/Date(1550494839000)/", "ExchangeObjectId": "05d94055-ac23-4bc4-82bb-019a85924bb2", "OrganizationId": "EURP189A004.PROD.OUTLOOK.COM/Microsoft Exchange Hosted Organizations/skrubbeltrang.onmicrosoft.com - EURP189A004.PROD.OUTLOOK.COM/ConfigurationUnits/skrubbeltrang.onmicrosoft.com/Configuration", "Guid": "05d94055-ac23-4bc4-82bb-019a85924bb2", "OriginatingServer": "DB6P189A004DC06.EURP189A004.PROD.OUTLOOK.COM", "ObjectState": "Unchanged" }
The output from the new minimal property set version of Get-EXOMailbox is app. 14 times smaller:
PS C:\> Get-EXOMailbox ole.roemer | ConvertTo-Json { "ExternalDirectoryObjectId": "0a3a7d4d-ec4f-411a-a501-362b982fa57b", "UserPrincipalName": "ole.roemer@skrubbeltrang.onmicrosoft.com", "Alias": "ole.roemer", "DisplayName": "Ole Roemer", "EmailAddresses": [ "smtp:ole.roemer@skrubbeltrang.mail.onmicrosoft.com", "SMTP:ole.roemer@skrubbeltrang.onmicrosoft.com" ], "PrimarySmtpAddress": "ole.roemer@skrubbeltrang.onmicrosoft.com", "RecipientType": "UserMailbox", "RecipientTypeDetails": "UserMailbox", "Identity": "Ole Roemer", "Id": "Ole Roemer", "ExchangeVersion": "0.20 (15.0.0.0)", "Name": "Ole Roemer", "DistinguishedName": "CN=Ole Roemer,OU=skrubbeltrang.onmicrosoft.com,OU=Microsoft Exchange Hosted Organizations,DC=EURP189A004,DC=PROD,DC=OUTLOOK,DC=COM", "OrganizationId": "EURP189A004.PROD.OUTLOOK.COM/Microsoft Exchange Hosted Organizations/skrubbeltrang.onmicrosoft.com - EURP189A004.PROD.OUTLOOK.COM/ConfigurationUnits/skrubbeltrang.onmicrosoft.com/Configuration", "Guid": "05d94055-ac23-4bc4-82bb-019a85924bb2" }
With small numbers of mailboxes this doesn’t make a big difference but when you’re retrieving thousands of mailboxes you’ll get a massive performance benefit from this change.
To include additional properties to the minimal output you can use the Properties parameter:
PS C:\> Get-EXOMailbox ole.roemer -Properties IssueWarningQuota,ProhibitSendQuota,ProhibitSendReceiveQuota ExternalDirectoryObjectId : 0a3a7d4d-ec4f-411a-a501-362b982fa57b ProhibitSendQuota : 49 GB (52,613,349,376 bytes) ProhibitSendReceiveQuota : 50 GB (53,687,091,200 bytes) IssueWarningQuota : 43 GB (46,170,898,432 bytes) UserPrincipalName : ole.roemer@skrubbeltrang.onmicrosoft.com Alias : ole.roemer DisplayName : Ole Roemer EmailAddresses : {smtp:ole.roemer@skrubbeltrang.mail.onmicrosoft.com, SMTP:ole.roemer@skrubbeltrang.onmicrosoft.com} PrimarySmtpAddress : ole.roemer@skrubbeltrang.onmicrosoft.com RecipientType : UserMailbox RecipientTypeDetails : UserMailbox Identity : Ole Roemer Id : Ole Roemer ExchangeVersion : 0.20 (15.0.0.0) Name : Ole Roemer DistinguishedName : CN=Ole Roemer,OU=skrubbeltrang.onmicrosoft.com,OU=Microsoft Exchange Hosted Organizations,DC=EURP189A004,DC=PROD,DC=OUTLOOK,DC=COM OrganizationId : EURP189A004.PROD.OUTLOOK.COM/Microsoft Exchange Hosted Organizations/skrubbeltrang.onmicrosoft.com - EURP189A004.PROD.OUTLOOK.COM/ConfigurationUnits/skrubbeltrang.onmicrosoft.com/Configuration Guid : 05d94055-ac23-4bc4-82bb-019a85924bb2
The Properties parameter does not accept wildcards. But fortunately we now have something called PropertySets!
PropertySets – Groups of Properties
Quite often you’re interested in a group of properties that share similar characteristics. As an example you might want to get general quota information, as in the previous example.
To get all properties related to quota you can use the PropertySets parameter and set it to “Quota”:
PS C:\> Get-EXOMailbox ole.roemer -PropertySets Quota ExternalDirectoryObjectId : 0a3a7d4d-ec4f-411a-a501-362b982fa57b ProhibitSendQuota : 49 GB (52,613,349,376 bytes) ProhibitSendReceiveQuota : 50 GB (53,687,091,200 bytes) RecoverableItemsQuota : 30 GB (32,212,254,720 bytes) RecoverableItemsWarningQuota : 20 GB (21,474,836,480 bytes) CalendarLoggingQuota : 6 GB (6,442,450,944 bytes) UseDatabaseQuotaDefaults : False IssueWarningQuota : 43 GB (46,170,898,432 bytes) RulesQuota : 256 KB (262,144 bytes) UserPrincipalName : ole.roemer@skrubbeltrang.onmicrosoft.com ArchiveQuota : 50 GB (53,687,091,200 bytes) ArchiveWarningQuota : 45 GB (48,318,382,080 bytes) PrimarySmtpAddress : ole.roemer@skrubbeltrang.onmicrosoft.com Identity : Ole Roemer
As you’ll notice this query only includes the quota information (and a little bit of identity) making it very well performing.
If you want the basic information including the quota information you should use the following Get-EXOMailbox command:
PS C:\> Get-EXOMailbox ole.roemer -PropertySets Minimum,Quota ExternalDirectoryObjectId : 0a3a7d4d-ec4f-411a-a501-362b982fa57b ProhibitSendQuota : 49 GB (52,613,349,376 bytes) ProhibitSendReceiveQuota : 50 GB (53,687,091,200 bytes) RecoverableItemsQuota : 30 GB (32,212,254,720 bytes) RecoverableItemsWarningQuota : 20 GB (21,474,836,480 bytes) CalendarLoggingQuota : 6 GB (6,442,450,944 bytes) UseDatabaseQuotaDefaults : False IssueWarningQuota : 43 GB (46,170,898,432 bytes) RulesQuota : 256 KB (262,144 bytes) UserPrincipalName : ole.roemer@skrubbeltrang.onmicrosoft.com ArchiveQuota : 50 GB (53,687,091,200 bytes) ArchiveWarningQuota : 45 GB (48,318,382,080 bytes) Alias : ole.roemer DisplayName : Ole Roemer EmailAddresses : {smtp:ole.roemer@skrubbeltrang.mail.onmicrosoft.com, SMTP:ole.roemer@skrubbeltrang.onmicrosoft.com} PrimarySmtpAddress : ole.roemer@skrubbeltrang.onmicrosoft.com RecipientType : UserMailbox RecipientTypeDetails : UserMailbox Identity : Ole Roemer Id : Ole Roemer ExchangeVersion : 0.20 (15.0.0.0) Name : Ole Roemer DistinguishedName : CN=Ole Roemer,OU=skrubbeltrang.onmicrosoft.com,OU=Microsoft Exchange Hosted Organizations,DC=EURP189A004,DC=PROD,DC=OUTLOOK,DC=COM OrganizationId : EURP189A004.PROD.OUTLOOK.COM/Microsoft Exchange Hosted Organizations/skrubbeltrang.onmicrosoft.com - EURP189A004.PROD.OUTLOOK.COM/ConfigurationUnits/skrubbeltrang.onmicrosoft.com/Configuration Guid : 05d94055-ac23-4bc4-82bb-019a85924bb2
The following table is an overview of the different PropertySets that are available and the mailbox attributes that are included in the PropertySets:
Get-EXOMailbox PropertySets
PropertySet | Properties |
---|---|
Minimum | Alias |
Minimum | DisplayName |
Minimum | DistinguishedName |
Minimum | EmailAddresses |
Minimum | ExchangeVersion |
Minimum | ExternalDirectoryObjectId |
Minimum | Guid |
Minimum | Id |
Minimum | Name |
Minimum | OrganizationId |
Minimum | PrimarySmtpAddress |
Minimum | RecipientType |
Minimum | RecipientTypeDetails |
Minimum | UserPrincipalName |
AddressList | AddressBookPolicy |
AddressList | AddressListMembership |
AddressList | ExternalDirectoryObjectId |
AddressList | GeneratedOfflineAddressBooks |
AddressList | HiddenFromAddressListsEnabled |
AddressList | OfflineAddressBook |
Archive | ArchiveDatabase |
Archive | ArchiveDomain |
Archive | ArchiveGuid |
Archive | ArchiveName |
Archive | ArchiveQuota |
Archive | ArchiveRelease |
Archive | ArchiveState |
Archive | ArchiveStatus |
Archive | ArchiveWarningQuota |
Archive | AutoExpandingArchiveEnabled |
Archive | DisabledArchiveDatabase |
Archive | DisabledArchiveGuid |
Archive | ExternalDirectoryObjectId |
Archive | JournalArchiveAddress |
Audit | AuditAdmin |
Audit | AuditDelegate |
Audit | AuditEnabled |
Audit | AuditLogAgeLimit |
Audit | AuditOwner |
Audit | DefaultAuditSet |
Audit | ExternalDirectoryObjectId |
Custom | CustomAttribute1 |
Custom | CustomAttribute2 |
Custom | CustomAttribute3 |
Custom | CustomAttribute4 |
Custom | CustomAttribute5 |
Custom | CustomAttribute6 |
Custom | CustomAttribute7 |
Custom | CustomAttribute8 |
Custom | CustomAttribute9 |
Custom | CustomAttribute10 |
Custom | CustomAttribute11 |
Custom | CustomAttribute12 |
Custom | CustomAttribute13 |
Custom | CustomAttribute14 |
Custom | CustomAttribute15 |
Custom | ExtensionCustomAttribute1 |
Custom | ExtensionCustomAttribute2 |
Custom | ExtensionCustomAttribute3 |
Custom | ExtensionCustomAttribute4 |
Custom | ExtensionCustomAttribute5 |
Custom | ExternalDirectoryObjectId |
Delivery | AcceptMessagesOnlyFrom |
Delivery | AcceptMessagesOnlyFromDLMembers |
Delivery | AcceptMessagesOnlyFromSendersOrMembers |
Delivery | DeliverToMailboxAndForward |
Delivery | DowngradeHighPriorityMessagesEnabled |
Delivery | ExternalDirectoryObjectId |
Delivery | ForwardingAddress |
Delivery | ForwardingSmtpAddress |
Delivery | GrantSendOnBehalfTo |
Delivery | MaxBlockedSenders |
Delivery | MaxReceiveSize |
Delivery | MaxSafeSenders |
Delivery | MaxSendSize |
Delivery | MessageCopyForSendOnBehalfEnabled |
Delivery | MessageCopyForSentAsEnabled |
Delivery | MessageRecallProcessingEnabled |
Delivery | MessageTrackingReadStatusEnabled |
Delivery | RecipientLimits |
Delivery | RejectMessagesFrom |
Delivery | RejectMessagesFromDLMembers |
Delivery | RejectMessagesFromSendersOrMembers |
Delivery | RulesQuota |
Hold | ComplianceTagHoldApplied |
Hold | DelayHoldApplied |
Hold | ExternalDirectoryObjectId |
Hold | InPlaceHolds |
Hold | InactiveMailboxRetireTime |
Hold | LitigationHoldDate |
Hold | LitigationHoldDuration |
Hold | LitigationHoldEnabled |
Hold | LitigationHoldOwner |
Moderation | BypassModerationFromSendersOrMembers |
Moderation | ExternalDirectoryObjectId |
Moderation | ModeratedBy |
Moderation | ModerationEnabled |
Moderation | SendModerationNotifications |
Move | ExternalDirectoryObjectId |
Move | MailboxMoveBatchName |
Move | MailboxMoveFlags |
Move | MailboxMoveRemoteHostName |
Move | MailboxMoveSourceMDB |
Move | MailboxMoveStatus |
Move | MailboxMoveTargetMDB |
Policy | AddressBookPolicy |
Policy | DataEncryptionPolicy |
Policy | EmailAddressPolicyEnabled |
Policy | ExternalDirectoryObjectId |
Policy | ManagedFolderMailboxPolicy |
Policy | PoliciesExcluded |
Policy | PoliciesIncluded |
Policy | RemoteAccountPolicy |
Policy | RetentionPolicy |
Policy | RetentionUrl |
Policy | RoleAssignmentPolicy |
Policy | SharingPolicy |
Policy | ThrottlingPolicy |
PublicFolder | DefaultPublicFolderMailbox |
PublicFolder | EffectivePublicFolderMailbox |
PublicFolder | ExternalDirectoryObjectId |
PublicFolder | IsExcludedFromServingHierarchy |
PublicFolder | IsHierarchyReady |
PublicFolder | IsHierarchySyncEnabled |
PublicFolder | IsRootPublicFolderMailbox |
Quota | ArchiveQuota |
Quota | ArchiveWarningQuota |
Quota | CalendarLoggingQuota |
Quota | ExternalDirectoryObjectId |
Quota | IssueWarningQuota |
Quota | ProhibitSendQuota |
Quota | ProhibitSendReceiveQuota |
Quota | RecoverableItemsQuota |
Quota | RecoverableItemsWarningQuota |
Quota | RulesQuota |
Quota | UseDatabaseQuotaDefaults |
Resource | ExternalDirectoryObjectId |
Resource | IsResource |
Resource | ResourceCapacity |
Resource | ResourceCustom |
Resource | ResourceType |
Resource | RoomMailboxAccountEnabled |
Retention | EndDateForRetentionHold |
Retention | ExternalDirectoryObjectId |
Retention | OrphanSoftDeleteTrackingTime |
Retention | RetainDeletedItemsFor |
Retention | RetainDeletedItemsUntilBackup |
Retention | RetentionComment |
Retention | RetentionHoldEnabled |
Retention | RetentionPolicy |
Retention | RetentionUrl |
Retention | SingleItemRecoveryEnabled |
Retention | StartDateForRetentionHold |
Retention | UseDatabaseRetentionDefaults |
SCL | AntispamBypassEnabled |
SCL | ExternalDirectoryObjectId |
SCL | SCLDeleteEnabled |
SCL | SCLDeleteThreshold |
SCL | SCLJunkEnabled |
SCL | SCLJunkThreshold |
SCL | SCLQuarantineEnabled |
SCL | SCLQuarantineThreshold |
SCL | SCLRejectEnabled |
SCL | SCLRejectThreshold |
SoftDelete | ExternalDirectoryObjectId |
SoftDelete | IncludeInGarbageCollection |
SoftDelete | IsInactiveMailbox |
SoftDelete | IsSoftDeletedByDisable |
SoftDelete | IsSoftDeletedByRemove |
SoftDelete | WhenSoftDeleted |
StatisticsSeed | ArchiveDatabaseGuid |
StatisticsSeed | DatabaseGuid |
StatisticsSeed | ExchangeGuid |
StatisticsSeed | ExternalDirectoryObjectId |
Summary
The new EXO V2 module has some great performance benefits. This article demonstrated how they work with Get-EXOMailbox, but they’re currently available for 8 other cmdlets.
Using the Exchange Online Management PowerShell module will also allow you to perform multi-factor authentication against Exchange Online.
Basic authentication support will stop the second half of 2021.
If you want to see further improvements in your Office 365 admin life, have a look at Easy365Manager. Using Easy365Manager you can perform all daily user management tasks inside the Active Directory Users & Computers tool. Including Office 365 user, license and mailbox management.
Download your fully functional 30 day trial and start working super efficient today!