PowerShell commands 1,437

Clear
CommandWorkloadWhat it does
Test-FederationTrust Exchange Online Verify that the federation trust is properly configured and functioning as expected.
Test-FederationTrustCertificate Exchange Online Check the status of certificates that are used for federation on all Exchange servers.
Test-ImapConnectivity Exchange Online Verify that connectivity to the Microsoft Exchange IMAP4 service is working as expected. **Note**: This cmdlet works best in Exchange...
Test-IPAllowListProvider Exchange Online This cmdlet is available or effective only on Edge Transport servers in on-premises Exchange. Use the Test-IPAllowListProvider cmdlet to...
Test-IPBlockListProvider Exchange Online This cmdlet is available or effective only on Edge Transport servers in on-premises Exchange. Use the Test-IPBlockListProvider cmdlet to...
Test-IRMConfiguration Exchange Online Test Information Rights Management (IRM) configuration and functionality.
Test-M365DataAtRestEncryptionPolicy Exchange Online Test an existing Microsoft 365 data-at-rest encryption policy.
Test-Mailflow Exchange Online Diagnose whether mail can be successfully sent from and delivered to the system mailbox on a Mailbox server. You can also use this...
Test-MAPIConnectivity Exchange Online Verify server functionality by logging on to the mailbox that you specify. If you don't specify a mailbox, the cmdlet logs on to the...
Test-Message Exchange Online This cmdlet is functional only in the cloud-based service. Use the Test-Message cmdlet to simulate and report on the effects of mail...
Test-MigrationServerAvailability Exchange Online Test the availability of the target server in preparation to perform cross-forest mailbox moves, migration of on-premises mailboxes to...
Test-MRSHealth Exchange Online Test the health of an instance of the Microsoft Exchange Mailbox Replication service.
Test-OAuthConnectivity Exchange Online Test OAuth authentication to partner applications for a user.
Test-OrganizationRelationship Exchange Online Verify that the organization relationship is properly configured and functioning as expected.
Test-OutlookConnectivity Exchange Online Test end-to-end Microsoft Outlook client connectivity in the Microsoft Exchange organization. This includes testing for both Outlook...
Test-OutlookWebServices Exchange Online This cmdlet is functional only in Exchange Server 2010. Use the Test-OutlookWebServices cmdlet to verify the Autodiscover service...
Test-OwaConnectivity Exchange Online Verify that Microsoft Office Outlook Web App is running as expected. The Test-OwaConnectivity cmdlet can be used to test Outlook Web App...
Test-PopConnectivity Exchange Online Verify that the Microsoft Exchange POP3 service is working as expected. **Note**: This cmdlet works best in Exchange 2010. In later...
Test-PowerShellConnectivity Exchange Online Test client connectivity to Exchange remote PowerShell virtual directories. **Note**: This cmdlet works best in Exchange 2010. In later...
Test-ReplicationHealth Exchange Online Check all aspects of replication and replay, or to provide status for a specific Mailbox server in a database availability group (DAG).
Test-SenderId Exchange Online Test whether a specified IP address is the legitimate sending address for a specified SMTP address.
Test-ServiceHealth Exchange Online Test whether all the Microsoft Windows services that Exchange requires on a server have started. The Test-ServiceHealth cmdlet returns...
Test-ServicePrincipalAuthorization Exchange Online Test the access granted by role-based access control (RBAC) for Applications. For more information, see Role Based Access Control for...
Test-SiteMailbox Exchange Online Test the site mailbox to Microsoft SharePoint connectivity and to test whether users have the correct permissions to use a site mailbox....
Test-SmtpConnectivity Exchange Online Diagnose whether an SMTP connection can successfully be established to the Receive connectors on a specific server. Although you can run...
Test-SystemHealth Exchange Online Gather data about your Microsoft Exchange system and to analyze the data according to best practices.
Test-TextExtraction Exchange Online Return the text from unencrypted email message files.
Test-UMConnectivity Exchange Online Test the operation of Unified Messaging (UM) servers. **Note**: This cmdlet works best in Exchange 2010. In later versions of Exchange,...
Test-WebServicesConnectivity Exchange Online Test client connectivity to Exchange Web Services virtual directories. **Note**: This cmdlet works best in Exchange 2010. In later...
Undo-SoftDeletedMailbox Exchange Online Recover a mailbox that is deleted. Mailboxes can be recovered within 30 days of being deleted.
Undo-SoftDeletedUnifiedGroup Exchange Online Restore soft-deleted Microsoft 365 Groups in your cloud-based organization.
Uninstall-TransportAgent Exchange Online Unregister transport agents from Exchange servers.
Update-AddressList Exchange Online Update the recipients included in address lists.
Update-ComplianceCaseMember Exchange Online For more information, see Security & Compliance PowerShell. Use the Update-ComplianceCaseMember cmdlet to replace all members of...
Update-DatabaseSchema Exchange Online Upgrade the database schema for one or more databases after an Exchange software update that includes database schema updates is...
Update-DistributionGroupMember Exchange Online Replace all members of distribution groups and mail-enabled security groups. To add or remove existing group members, use the...
Update-eDiscoveryCaseAdmin Exchange Online For more information, see Security & Compliance PowerShell. Use the Update-eDiscoveryCaseAdmin cmdlet to replace all existing eDiscovery...
Update-EmailAddressPolicy Exchange Online Apply new or updated email address policies to the affected recipients in an on-premises Exchange organization.
Update-ExchangeHelp Exchange Online Find, download and install the latest available help articles for the Exchange Management Shell on the local computer. If an available...
Update-FileDistributionService Exchange Online Access the Microsoft Exchange File Distribution service to poll for offline address book (OAB), Group Metrics, and Unified Messaging...
Update-GlobalAddressList Exchange Online Update the recipients included in a global address list (GAL).
Update-HybridConfiguration Exchange Online Define the credentials that are used to update the hybrid configuration object.
Update-MailboxDatabaseCopy Exchange Online Seed or reseed a mailbox database copy.
Update-OfflineAddressBook Exchange Online Update the offline address books (OABs) used by Microsoft Outlook clients.
Update-PublicFolder Exchange Online Start content synchronization of a public folder.
Update-PublicFolderHierarchy Exchange Online Start content synchronization of the public folder hierarchy.
Update-PublicFolderMailbox Exchange Online Update the hierarchy for public folders.
Update-Recipient Exchange Online Add Exchange attributes to recipient objects.
Update-RoleGroupMember Exchange Online Modify the members of a management role group.
Update-SafeList Exchange Online Update the safelist aggregation data in Active Directory. Safelist aggregation data is used in the built-in anti-spam filtering in...
Update-SiteMailbox Exchange Online Trigger a Microsoft SharePoint synchronization. This command synchronizes document content membership and permissions into Microsoft...
Update-StoreMailboxState Exchange Online Synchronize the mailbox state for a mailbox in the Exchange mailbox store with the state of the corresponding Active Directory user account.
Update-VivaModuleFeaturePolicy Exchange Online 2.0 or later. For more information, see About the Exchange Online PowerShell module. Use the Update-VivaModuleFeaturePolicy cmdlet to...
Upgrade-DistributionGroup Exchange Online Upgrade distribution groups to Microsoft 365 Groups. This cmdlet only works on distribution groups, not mail-enabled security groups....
Validate-OutboundConnector Exchange Online Test the settings of Outbound connectors in Microsoft 365. **Note**: This cmdlet does not set the validation status or timestamp on the...
Validate-RetentionRuleQuery Exchange Online For more information, see Security & Compliance PowerShell. Use the Validate-RetentionRuleQuery cmdlet to validate the Keyword Query...
Write-AdminAuditLog Exchange Online Write a comment to the administrator audit log.