Get-Mailbox : The term ‘Get-Mailbox’ is not recognized

Get-Mailbox term not recognized

You’re trying to manage Office 365 mailboxes and you receive the below error message:

get-mailbox : The term 'get-mailbox' is not recognized as the name of a cmdlet, function, script file,
or operable program. Check the spelling of the name, or if a path was included, verify that the path
is correct and try again.
At line:1 char:1
+ get-mailbox
+ ~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (get-mailbox:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

This error message means that the Exchange Module for PowerShell is not loaded and therefore the command “get-mailbox” is not recognized.

To manage Exchange Online mailboxes in Office 365 with PowerShell you must connect your PowerShell session with Exchange Online.

The EXO V2 module has replaced the old Exchange module and supports MFA (Multi Factor Authentication).

Using the EXO V2 Module

The new Exchange Online PowerShell module (EXO V2) has several advantages over the old module.

Unlike the old module, you need to install EXO V2. You can install it using the following command:

Install-Module ExchangeOnlineManagement

Once the module is installed you can connect to Exchange Online with the following command:

Connect-ExchangeOnline

Once the connection has been established, the Get-Mailbox command is available for use.

To see what other commands are included in the ExchangeOnlineManagement module, go to the end of the article.

Manage Office 365 Mailboxes Without PowerShell

Some parts of Office 365 mailbox management, like setting calendar permissions, require the use of PowerShell.

To manage Office 365 mailboxes more efficiently, download and install Easy365Manager.

With Easy365Manager, you can directly manage Office 365 mailboxes in the Active Directory Users & Computers management console.

Easy365Manager is a snap-in that extends the user and group properties in AD Users & Computers.

As seen here, with Easy365Manager, you have direct and easy access to configure the Office 365 mailboxes of your AD users from the familiar Active Directory admin tool:

Watch this on-demand webinar to understand Easy365Manager:

The webinar covers all the most common questions asked during our many customer engagements.

For a complete list of features in Easy365Manager have a look at this.

You can download a fully functional 30-day trial here.

Exchange Online Module PowerShell Commands

If you want to know what commands are available in the Exchange Online V2 module, use the following command:

PS C:\> (Get-Module -Name ExchangeOnlineManagement).ExportedCommands | ft key
Key
---
Get-EXOCasMailbox
Get-EXOMailbox
Get-EXOMailboxFolderPermission
Get-EXOMailboxFolderStatistics
Get-EXOMailboxPermission
Get-EXOMailboxStatistics
Get-EXOMobileDeviceStatistics
Get-EXORecipient
Get-EXORecipientPermission
Get-MyAnalyticsFeatureConfig
Get-OwnerlessGroupPolicy
Get-UserBriefingConfig
Get-VivaInsightsSettings
Set-MyAnalyticsFeatureConfig
Set-OwnerlessGroupPolicy
Set-UserBriefingConfig
Set-VivaInsightsSettings
Connect-ExchangeOnline
Connect-IPPSSession
Disconnect-ExchangeOnline

And you may wonder – where are all the rest of the Exchange Online commands?

The answer to this question is that the new ExchangeOnlineManagement module creates a remote Exchange PowerShell session, just like the old module did.

After connecting with Connect-ExchangeOnline, you will find that a remote Exchange PowerShell session has been established:

PS C:\> Get-PSSession | ft Name,CurrentModuleName
Name                            CurrentModuleName
----                            -----------------
ExchangeOnlineInternalSession_1 tmp_n1tczdem.hid

(module name varies)

You can investigate the commands available in the remote session using the following command:

(Get-Module -Name tmp_n1tczdem.hid).ExportedCommands | ft key

The list of commands will look similar to the following:

PS C:\>(Get-Module -Name tmp_n1tczdem.hid).ExportedCommands | ft key
Key
---
Add-ATPEvaluation
Add-AvailabilityAddressSpace
Add-DistributionGroupMember
Add-MailboxFolderPermission
Add-MailboxLocation
Add-MailboxPermission
Add-ManagementRoleEntry
Add-PublicFolderClientPermission
Add-RecipientPermission
Add-RoleGroupMember
Add-UnifiedGroupLinks
Approve-ElevatedAccessRequest
Clear-ActiveSyncDevice
Clear-MobileDevice
Clear-TextMessagingAccount
Compare-TextMessagingVerificationCode
Complete-MigrationBatch
ConvertFrom-ExoJobData.ps1
Delete-QuarantineMessage
Deny-ElevatedAccessRequest
Disable-AntiPhishRule
Disable-App
Disable-ATPProtectionPolicyRule
Disable-ElevatedAccessControl
Disable-EOPProtectionPolicyRule
Disable-HostedContentFilterRule
Disable-HostedOutboundSpamFilterRule
Disable-InboxRule
Disable-JournalArchiving
Disable-JournalRule
Disable-Mailbox
Disable-MailPublicFolder
Disable-MalwareFilterRule
Disable-OutlookProtectionRule
Disable-ReportSubmissionRule
Disable-SafeAttachmentRule
Disable-SafeLinksRule
Disable-SweepRule
Disable-TransportRule
Enable-AntiPhishRule
Enable-App
Enable-ATPProtectionPolicyRule
Enable-ElevatedAccessControl
Enable-EOPProtectionPolicyRule
Enable-HostedContentFilterRule
Enable-HostedOutboundSpamFilterRule
Enable-InboxRule
Enable-JournalRule
Enable-Mailbox
Enable-MailPublicFolder
Enable-MalwareFilterRule
Enable-OrganizationCustomization
Enable-OutlookProtectionRule
Enable-ReportSubmissionRule
Enable-SafeAttachmentRule
Enable-SafeLinksRule
Enable-SweepRule
Enable-TransportRule
Export-ApplicationData
Export-DlpPolicyCollection
Export-MailboxDiagnosticLogs
Export-MigrationReport
Export-QuarantineMessage
Export-TransportRuleCollection
Export-UMCallDataRecord
Get-AcceptedDomain
Get-AccessToCustomerDataRequest
Get-ActiveSyncDevice
Get-ActiveSyncDeviceAccessRule
Get-ActiveSyncDeviceClass
Get-ActiveSyncDeviceStatistics
Get-ActiveSyncMailboxPolicy
Get-ActiveSyncOrganizationSettings
Get-AdaptiveScope
Get-AddressBookPolicy
Get-AdminAuditLogConfig
Get-AdministrativeUnit
Get-AdvancedThreatProtectionDocumentDetail
Get-AdvancedThreatProtectionDocumentReport
Get-AdvancedThreatProtectionTrafficReport
Get-AntiPhishPolicy
Get-AntiPhishRule
Get-App
Get-ApplicationAccessPolicy
Get-ArcConfig
Get-ATPBuiltInProtectionRule
Get-ATPEvaluation
Get-AtpPolicyForO365
Get-ATPProtectionPolicyRule
Get-ATPTotalTrafficReport
Get-AuditConfig
Get-AuditConfigurationPolicy
Get-AuditConfigurationRule
Get-AuditLogSearch
Get-AuthenticationPolicy
Get-AuthServer
Get-AvailabilityAddressSpace
Get-AvailabilityConfig
Get-BlockedSenderAddress
Get-CalendarDiagnosticAnalysis
Get-CalendarDiagnosticLog
Get-CalendarDiagnosticObjects
Get-CalendarNotification
Get-CalendarProcessing
Get-CalendarViewDiagnostics
Get-CASMailbox
Get-CASMailboxPlan
Get-ClassificationRuleCollection
Get-ClientAccessRule
Get-Clutter
Get-CompliancePolicyFileSyncNotification
Get-CompliancePolicySyncNotification
Get-ComplianceTag
Get-ComplianceTagStorage
Get-CompromisedUserAggregateReport
Get-CompromisedUserDetailReport
Get-ConfigAnalyzerPolicyRecommendation
Get-ConnectionByClientTypeDetailReport
Get-ConnectionByClientTypeReport
Get-Contact
Get-ContentMalwareMdoAggregateReport
Get-ContentMalwareMdoDetailReport
Get-CrossTenantAccessPolicy
Get-CsActiveUserReport
Get-CsAVConferenceTimeReport
Get-CsClientDeviceDetailReport
Get-CsClientDeviceReport
Get-CsConferenceReport
Get-CsP2PAVTimeReport
Get-CsP2PSessionReport
Get-CsPSTNConferenceTimeReport
Get-CsPSTNUsageDetailReport
Get-CsUserActivitiesReport
Get-CsUsersBlockedReport
Get-CustomizedUserSubmission
Get-DataClassification
Get-DataClassificationConfig
Get-DataEncryptionPolicy
Get-DataRetentionReport
Get-DeviceComplianceDetailsReport
Get-DeviceComplianceDetailsReportFilter
Get-DeviceCompliancePolicyInventory
Get-DeviceComplianceReportDate
Get-DeviceComplianceSummaryReport
Get-DeviceComplianceUserInventory
Get-DeviceComplianceUserReport
Get-DeviceConditionalAccessPolicy
Get-DeviceConditionalAccessRule
Get-DeviceConfigurationPolicy
Get-DeviceConfigurationRule
Get-DevicePolicy
Get-DeviceTenantPolicy
Get-DeviceTenantRule
Get-DistributionGroup
Get-DistributionGroupMember
Get-DkimSigningConfig
Get-DlpDetailReport
Get-DlpDetectionsReport
Get-DlpIncidentDetailReport
Get-DlpKeywordDictionary
Get-DlpPolicy
Get-DlpPolicyTemplate
Get-DlpSensitiveInformationTypeConfig
Get-DlpSensitiveInformationTypeRulePackage
Get-DlpSiDetectionsReport
Get-DynamicDistributionGroup
Get-DynamicDistributionGroupMember
Get-ElevatedAccessApprovalPolicy
Get-ElevatedAccessAuthorization
Get-ElevatedAccessRequest
Get-EligibleDistributionGroupForMigration
Get-EmailAddressPolicy
Get-EOPProtectionPolicyRule
Get-EvaluationModeReport
Get-EvaluationModeReportSeries
Get-EventsFromEmailConfiguration
Get-ExoInformationBarrierPolicy
Get-ExoInformationBarrierRelationship
Get-ExoInformationBarrierSegment
Get-ExternalInOutlook
Get-FailedContentIndexDocuments
Get-FederatedOrganizationIdentifier
Get-FederationInformation
Get-FederationTrust
Get-FfoMigrationReport
Get-FocusedInbox
Get-Group
Get-GroupActivityReport
Get-GroupMailbox
Get-HistoricalSearch
Get-HostedConnectionFilterPolicy
Get-HostedContentFilterPolicy
Get-HostedContentFilterRule
Get-HostedOutboundSpamFilterPolicy
Get-HostedOutboundSpamFilterRule
Get-HybridMailflow
Get-HybridMailflowDatacenterIPs
Get-InboundConnector
Get-InboxRule
Get-InformationBarrierReportDetails
Get-InformationBarrierReportSummary
Get-IntraOrganizationConfiguration
Get-IntraOrganizationConnector
Get-IRMConfiguration
Get-JournalRule
Get-LicenseVsUsageSummaryReport
Get-LinkedUser
Get-LogonStatistics
Get-M365CrossTenantAccessPolicy
Get-M365DataAtRestEncryptionPolicy
Get-M365DataAtRestEncryptionPolicyAssignment
Get-Mailbox
Get-MailboxActivityReport
Get-MailboxAuditBypassAssociation
Get-MailboxAutoReplyConfiguration
Get-MailboxCalendarConfiguration
Get-MailboxCalendarFolder
Get-MailboxFolder
Get-MailboxFolderPermission
Get-MailboxFolderStatistics
Get-MailboxJunkEmailConfiguration
Get-MailboxLocation
Get-MailboxMessageConfiguration
Get-MailboxOverrideConfiguration
Get-MailboxPermission
Get-MailboxPlan
Get-MailboxPreferredLocation
Get-MailboxRegionalConfiguration
Get-MailboxRestoreRequest
Get-MailboxRestoreRequestStatistics
Get-MailboxSearch
Get-MailboxSpellingConfiguration
Get-MailboxStatistics
Get-MailboxUsageDetailReport
Get-MailboxUsageReport
Get-MailboxUserConfiguration
Get-MailContact
Get-MailDetailATPReport
Get-MailDetailDlpPolicyReport
Get-MailDetailEncryptionReport
Get-MailDetailEvaluationModeReport
Get-MailDetailReport
Get-MailDetailTransportRuleReport
Get-MailFilterListReport
Get-MailFlowStatusReport
Get-MailPublicFolder
Get-MailTrafficATPReport
Get-MailTrafficEncryptionReport
Get-MailTrafficPolicyReport
Get-MailTrafficReport
Get-MailTrafficSummaryReport
Get-MailTrafficTopReport
Get-MailUser
Get-MalwareFilterPolicy
Get-MalwareFilterRule
Get-ManagementRole
Get-ManagementRoleAssignment
Get-ManagementRoleEntry
Get-ManagementScope
Get-MessageCategory
Get-MessageClassification
Get-MessageRecallResult
Get-MessageTrace
Get-MessageTraceDetail
Get-MessageTrackingReport
Get-MigrationBatch
Get-MigrationConfig
Get-MigrationEndpoint
Get-MigrationStatistics
Get-MigrationUser
Get-MigrationUserStatistics
Get-MobileDevice
Get-MobileDeviceDashboardSummaryReport
Get-MobileDeviceMailboxPolicy
Get-MobileDeviceStatistics
Get-MoveRequest
Get-MoveRequestStatistics
Get-MxRecordReport
Get-MxRecordsReport
Get-Notification
Get-O365ClientBrowserDetailReport
Get-O365ClientBrowserReport
Get-O365ClientOSDetailReport
Get-O365ClientOSReport
Get-OMEConfiguration
Get-OMEMessageStatus
Get-OnlineMeetingConfiguration
Get-OnPremisesOrganization
Get-OrganizationalUnit
Get-OrganizationConfig
Get-OrganizationRelationship
Get-OutboundConnector
Get-OutboundConnectorReport
Get-OutlookProtectionRule
Get-OwaMailboxPolicy
Get-PartnerApplication
Get-PartnerCustomerUserReport
Get-PerimeterConfig
Get-PerimeterMessageTrace
Get-PhishFilterPolicy
Get-PhishSimOverridePolicy
Get-PhishSimOverrideRule
Get-Place
Get-PolicyConfig
Get-PolicyTipConfig
Get-PublicFolder
Get-PublicFolderClientPermission
Get-PublicFolderItemStatistics
Get-PublicFolderMailboxDiagnostics
Get-PublicFolderMailboxMigrationRequest
Get-PublicFolderMailboxMigrationRequestStatistics
Get-PublicFolderStatistics
Get-QuarantineMessage
Get-QuarantineMessageHeader
Get-QuarantinePolicy
Get-RbacDiagnosticInfo
Get-Recipient
Get-RecipientPermission
Get-RecipientStatisticsReport
Get-RemoteDomain
Get-ReportExecutionInstance
Get-ReportSchedule
Get-ReportScheduleList
Get-ReportSubmissionPolicy
Get-ReportSubmissionRule
Get-ResourceConfig
Get-RetentionEvent
Get-RetentionPolicy
Get-RetentionPolicyTag
Get-RMSTemplate
Get-RoleAssignmentPolicy
Get-RoleGroup
Get-RoleGroupMember
Get-SafeAttachmentBuiltInProtectionRule
Get-SafeAttachmentPolicy
Get-SafeAttachmentRule
Get-SafeLinksAggregateReport
Get-SafeLinksBuiltInProtectionRule
Get-SafeLinksDetailReport
Get-SafeLinksPolicy
Get-SafeLinksRule
Get-SCInsights
Get-ScorecardClientDeviceReport
Get-ScorecardClientOSReport
Get-ScorecardClientOutlookReport
Get-ScorecardMetricsReport
Get-SearchDocumentFormat
Get-SecOpsOverridePolicy
Get-SecOpsOverrideRule
Get-SecurityPrincipal
Get-SenderPermission
Get-SensitivityLabelActivityDetailsReport
Get-SensitivityLabelActivityReport
Get-ServiceDeliveryReport
Get-ServiceStatus
Get-SharingPolicy
Get-SiteMailbox
Get-SiteMailboxDiagnostics
Get-SiteMailboxProvisioningPolicy
Get-SmimeConfig
Get-SPOActiveUserReport
Get-SpoofIntelligenceInsight
Get-SpoofMailReport
Get-SPOSkyDriveProDeployedReport
Get-SPOSkyDriveProStorageReport
Get-SPOTeamSiteDeployedReport
Get-SPOTeamSiteStorageReport
Get-SPOTenantStorageMetricReport
Get-StaleMailboxDetailReport
Get-StaleMailboxReport
Get-SupervisoryReviewActivity
Get-SupervisoryReviewPolicyReport
Get-SupervisoryReviewPolicyV2
Get-SupervisoryReviewReport
Get-SupervisoryReviewRule
Get-SweepRule
Get-SyncConfig
Get-SyncRequest
Get-SyncRequestStatistics
Get-TenantAllowBlockListItems
Get-TenantAllowBlockListSpoofItems
Get-TextMessagingAccount
Get-ToolInformation
Get-TransportConfig
Get-TransportRule
Get-TransportRuleAction
Get-TransportRulePredicate
Get-UMCallDataRecord
Get-UMCallSummaryReport
Get-UnifiedAuditSetting
Get-UnifiedGroup
Get-UnifiedGroupLinks
Get-User
Get-UserPhoto
Import-DlpPolicyCollection
Import-RecipientDataProperty
Import-TransportRuleCollection
Invoke-BirthdayCalendarSync
Invoke-ShadowCalendarSync
New-ActiveSyncDeviceAccessRule
New-ActiveSyncMailboxPolicy
New-AdminAuditLogSearch
New-AntiPhishPolicy
New-AntiPhishRule
New-App
New-ApplicationAccessPolicy
New-ATPBuiltInProtectionRule
New-ATPProtectionPolicyRule
New-AuthenticationPolicy
New-AvailabilityConfig
New-ClassificationRuleCollection
New-ClientAccessRule
New-CompliancePolicySyncNotification
New-DatabaseMaintenanceRequest
New-DataClassification
New-DataEncryptionPolicy
New-DistributionGroup
New-DkimSigningConfig
New-DkimSigningConfigSelectorCnames
New-DlpPolicy
New-DynamicDistributionGroup
New-ElevatedAccessApprovalPolicy
New-ElevatedAccessRequest
New-EmailAddressPolicy
New-EOPProtectionPolicyRule
New-Fingerprint
New-HostedConnectionFilterPolicy
New-HostedContentFilterPolicy
New-HostedContentFilterRule
New-HostedOutboundSpamFilterPolicy
New-HostedOutboundSpamFilterRule
New-InboundConnector
New-InboxRule
New-IntraOrganizationConnector
New-JournalRule
New-M365DataAtRestEncryptionPolicy
New-Mailbox
New-MailboxAuditLogSearch
New-MailboxFolder
New-MailboxRestoreRequest
New-MailboxSearch
New-MailContact
New-MailMessage
New-MailUser
New-MalwareFilterPolicy
New-MalwareFilterRule
New-ManagementRole
New-ManagementRoleAssignment
New-ManagementScope
New-MessageClassification
New-MigrationBatch
New-MigrationEndpoint
New-MobileDeviceMailboxPolicy
New-MoveRequest
New-OMEConfiguration
New-OnPremisesOrganization
New-OrganizationRelationship
New-OutboundConnector
New-OutlookProtectionRule
New-OwaMailboxPolicy
New-PartnerApplication
New-PhishFilterPolicy
New-PolicyTipConfig
New-PrivilegedIdentityManagementRequest
New-ProtectionServicePolicy
New-PublicFolder
New-QuarantinePermissions
New-QuarantinePolicy
New-RemoteDomain
New-ReportSchedule
New-ReportSubmissionPolicy
New-ReportSubmissionRule
New-RetentionPolicy
New-RetentionPolicyTag
New-RoleAssignmentPolicy
New-RoleGroup
New-SafeAttachmentBuiltInProtectionRule
New-SafeAttachmentPolicy
New-SafeAttachmentRule
New-SafeLinksBuiltInProtectionRule
New-SafeLinksPolicy
New-SafeLinksRule
New-SchedulingMailbox
New-SharingPolicy
New-SiteMailbox
New-SiteMailboxProvisioningPolicy
New-SweepRule
New-SyncMailPublicFolder
New-SyncRequest
New-TenantAllowBlockListItems
New-TenantAllowBlockListSpoofItems
New-TransportRule
New-UnifiedGroup
Preview-QuarantineMessage
Release-QuarantineMessage
Remove-ActiveSyncDevice
Remove-ActiveSyncDeviceAccessRule
Remove-ActiveSyncMailboxPolicy
Remove-AntiPhishPolicy
Remove-AntiPhishRule
Remove-App
Remove-ApplicationAccessPolicy
Remove-ATPEvaluation
Remove-ATPProtectionPolicyRule
Remove-AuditConfigurationPolicy
Remove-AuditConfigurationRule
Remove-AuditStubFolder
Remove-AuthenticationPolicy
Remove-AvailabilityAddressSpace
Remove-AvailabilityConfig
Remove-BlockedSenderAddress
Remove-CalendarEvents
Remove-ClassificationRuleCollection
Remove-ClientAccessRule
Remove-CompliancePolicyFileSyncNotification
Remove-CompliancePolicySyncNotification
Remove-DataClassification
Remove-DistributionGroup
Remove-DistributionGroupMember
Remove-DlpPolicy
Remove-DynamicDistributionGroup
Remove-ElevatedAccessApprovalPolicy
Remove-EmailAddressPolicy
Remove-EOPProtectionPolicyRule
Remove-HostedConnectionFilterPolicy
Remove-HostedContentFilterPolicy
Remove-HostedContentFilterRule
Remove-HostedOutboundSpamFilterPolicy
Remove-HostedOutboundSpamFilterRule
Remove-HybridConfiguration
Remove-InboundConnector
Remove-InboxRule
Remove-IntraOrganizationConnector
Remove-JournalRule
Remove-M365CrossTenantAccessPolicy
Remove-Mailbox
Remove-MailboxFolderPermission
Remove-MailboxLocation
Remove-MailboxPermission
Remove-MailboxRestoreRequest
Remove-MailboxSearch
Remove-MailboxUserConfiguration
Remove-MailContact
Remove-MailUser
Remove-MalwareFilterPolicy
Remove-MalwareFilterRule
Remove-ManagementRole
Remove-ManagementRoleAssignment
Remove-ManagementRoleEntry
Remove-ManagementScope
Remove-MessageClassification
Remove-MigrationBatch
Remove-MigrationEndpoint
Remove-MigrationUser
Remove-MobileDevice
Remove-MobileDeviceMailboxPolicy
Remove-MoveRequest
Remove-OMEConfiguration
Remove-OnPremisesOrganization
Remove-OrganizationRelationship
Remove-OutboundConnector
Remove-OutlookProtectionRule
Remove-OwaMailboxPolicy
Remove-PartnerApplication
Remove-PolicyTipConfig
Remove-PublicFolder
Remove-PublicFolderClientPermission
Remove-PublicFolderMailboxMigrationRequest
Remove-QuarantinePolicy
Remove-RecipientPermission
Remove-RemoteDomain
Remove-ReportSchedule
Remove-ReportSubmissionPolicy
Remove-ReportSubmissionRule
Remove-RetentionPolicy
Remove-RetentionPolicyTag
Remove-RoleAssignmentPolicy
Remove-RoleGroup
Remove-RoleGroupMember
Remove-SafeAttachmentPolicy
Remove-SafeAttachmentRule
Remove-SafeLinksPolicy
Remove-SafeLinksRule
Remove-SharingPolicy
Remove-SweepRule
Remove-SyncMailPublicFolder
Remove-SyncRequest
Remove-TenantAllowBlockListItems
Remove-TenantAllowBlockListSpoofItems
Remove-TransportRule
Remove-UnifiedGroup
Remove-UnifiedGroupLinks
Remove-UserPhoto
Reset-EventsFromEmailBlockStatus
Reset-ShadowCalendar
Resume-MailboxRestoreRequest
Resume-MoveRequest
Resume-PublicFolderMailboxMigrationRequest
Resume-SyncRequest
Revoke-ElevatedAccessAuthorization
Rotate-DkimSigningConfig
Search-AdminAuditLog
Search-MailboxAuditLog
Search-MessageTrackingReport
Search-UnifiedAuditLog
Send-TextMessagingVerificationCode
Set-AcceptedDomain
Set-AccessToCustomerDataRequest
Set-ActiveSyncDeviceAccessRule
Set-ActiveSyncMailboxPolicy
Set-ActiveSyncOrganizationSettings
Set-AdminAuditLogConfig
Set-AntiPhishPolicy
Set-AntiPhishRule
Set-App
Set-ApplicationAccessPolicy
Set-ArcConfig
Set-ATPBuiltInProtectionRule
Set-AtpPolicyForO365
Set-ATPProtectionPolicyRule
Set-AuthenticationPolicy
Set-AvailabilityConfig
Set-CalendarNotification
Set-CalendarProcessing
Set-CASMailbox
set-CASMailboxPlan
Set-ClassificationRuleCollection
Set-ClientAccessRule
Set-Clutter
Set-Contact
Set-DataClassification
Set-DataEncryptionPolicy
Set-DistributionGroup
Set-DkimSigningConfig
Set-DlpPolicy
Set-DynamicDistributionGroup
Set-ElevatedAccessApprovalPolicy
Set-ElevatedAccessRequest
Set-EmailAddressPolicy
Set-EOPProtectionPolicyRule
Set-EventsFromEmailConfiguration
Set-ExternalInOutlook
Set-FederatedOrganizationIdentifier
Set-FocusedInbox
Set-Group
Set-GroupMailbox
Set-HostedConnectionFilterPolicy
Set-HostedContentFilterPolicy
Set-HostedContentFilterRule
Set-HostedOutboundSpamFilterPolicy
Set-HostedOutboundSpamFilterRule
Set-HybridMailflow
Set-InboundConnector
Set-InboxRule
Set-IntraOrganizationConnector
Set-IRMConfiguration
Set-JournalRule
Set-LabelProperties
Set-LinkedUser
Set-M365CrossTenantAccessPolicy
Set-M365DataAtRestEncryptionPolicy
Set-M365DataAtRestEncryptionPolicyAssignment
Set-Mailbox
Set-MailboxAuditBypassAssociation
Set-MailboxAutoReplyConfiguration
Set-MailboxCalendarConfiguration
Set-MailboxCalendarFolder
Set-MailboxFolderPermission
Set-MailboxJunkEmailConfiguration
Set-MailboxLocation
Set-MailboxMessageConfiguration
Set-MailboxPlan
Set-MailboxRegionalConfiguration
Set-MailboxRestoreRequest
Set-MailboxSearch
Set-MailboxSpellingConfiguration
Set-MailContact
Set-MailPublicFolder
Set-MailUser
Set-MalwareFilterPolicy
Set-MalwareFilterRule
Set-ManagementRoleAssignment
Set-ManagementRoleEntry
Set-ManagementScope
Set-MessageClassification
Set-MigrationBatch
Set-MigrationConfig
Set-MigrationEndpoint
Set-MigrationUser
Set-MobileDeviceMailboxPolicy
Set-MoveRequest
Set-Notification
Set-OMEConfiguration
Set-OMEMessageRevocation
Set-OnPremisesOrganization
Set-Organization
Set-OrganizationConfig
Set-OrganizationRelationship
Set-OutboundConnector
Set-OutlookProtectionRule
Set-OwaMailboxPolicy
Set-PartnerApplication
Set-PerimeterConfig
Set-PhishFilterPolicy
Set-Place
Set-PolicyTipConfig
Set-ProtectionServicePolicy
Set-PublicFolder
Set-PublicFolderMailboxMigrationRequest
Set-QuarantinePermissions
Set-QuarantinePolicy
Set-RegulatoryComplianceUI
Set-RemoteDomain
Set-ReportSchedule
Set-ReportSubmissionPolicy
Set-ReportSubmissionRule
Set-ResourceConfig
Set-RetentionPolicy
Set-RetentionPolicyTag
Set-RMSTemplate
Set-RoleAssignmentPolicy
Set-RoleGroup
Set-SafeAttachmentBuiltInProtectionRule
Set-SafeAttachmentPolicy
Set-SafeAttachmentRule
Set-SafeLinksBuiltInProtectionRule
Set-SafeLinksPolicy
Set-SafeLinksRule
Set-SharingPolicy
Set-SiteMailbox
Set-SiteMailboxProvisioningPolicy
Set-SmimeConfig
Set-SweepRule
Set-SyncRequest
Set-TenantAllowBlockListItems
Set-TenantAllowBlockListSpoofItems
Set-TextMessagingAccount
Set-TransportConfig
Set-TransportRule
Set-UnifiedAuditSetting
Set-UnifiedGroup
Set-User
Set-UserPhoto
Start-AuditAssistant
Start-HistoricalSearch
Start-ManagedFolderAssistant
Start-MigrationBatch
Start-MigrationUser
Stop-HistoricalSearch
Stop-MigrationBatch
Stop-MigrationUser
Suspend-MailboxRestoreRequest
Suspend-MoveRequest
Suspend-PublicFolderMailboxMigrationRequest
Suspend-SyncRequest
Sync-CrossTenantAccessPolicy
Test-ApplicationAccessPolicy
Test-ClientAccessRule
Test-DatabaseEvent
Test-DataClassification
Test-DataEncryptionPolicy
Test-DlpPolicies
Test-InformationBarrierPolicy
Test-IRMConfiguration
Test-M365DataAtRestEncryptionPolicy
Test-MailboxAssistant
Test-MAPIConnectivity
Test-MigrationServerAvailability
Test-OAuthConnectivity
Test-OrganizationRelationship
Test-SiteMailbox
Test-TextExtraction
Troubleshoot-AgendaMail
Undo-SoftDeletedMailbox
Undo-SoftDeletedUnifiedGroup
Update-DistributionGroupMember
Update-HybridConfiguration
Update-MaskingIndex
Update-PublicFolderMailbox
Update-Recipient
Update-RoleGroupMember
Update-SiteMailbox
Upgrade-DistributionGroup
Validate-OutboundConnector
Validate-RetentionRuleQuery
Validate-ShadowCalendar
Write-AdminAuditLog

Summary

If you want more information on how to connect with PowerShell to the various Office 365 modules have a look at this article.

To skip PowerShell altogether and manage Office 365 mailboxes using the native AD Users & Computers management tool check out Easy365Manager.