PowerShell commands 45

Clear
CommandWorkloadWhat it does
Test-ActiveSyncConnectivity Exchange Online Test connectivity to Microsoft Exchange ActiveSync virtual directories. **Note**: This cmdlet works best in Exchange 2010. In later...
Test-ApplicationAccessPolicy Exchange Online Test access right of an application to a specific user/mailbox.
Test-ArchiveConnectivity Exchange Online Verify archive functionality for a mailbox user.
Test-AssistantHealth Exchange Online Verify that the Microsoft Exchange Mailbox Assistants service (MSExchangeMailboxAssistants) is healthy, to recover from health issues,...
Test-CalendarConnectivity Exchange Online Verify that anonymous calendar sharing is enabled and working properly. The Calendar virtual directory is a subdirectory of the...
Test-ClientAccessRule Exchange Online > [!NOTE] > Client access rules were deprecated for all Exchange Online organizations in September 2025. For more information, see...
Test-CsEffectiveTenantDialPlan Microsoft Teams Test a tenant dial plan.
Test-CsInboundBlockedNumberPattern Microsoft Teams This cmdlet tests the given number against the created (by using New-CsInboundBlockedNumberPattern cmdlet) blocked numbers pattern....
Test-CsTeamsTranslationRule Microsoft Teams This cmdlet tests a phone number against the configured number manipulation rules and returns information about the matching rule.
Test-CsTeamsUnassignedNumberTreatment Microsoft Teams This cmdlet tests the given number against the created (by using New-CsTeamsUnassignedNumberTreatment cmdlet) unassigned number...
Test-CsVoiceNormalizationRule Microsoft Teams Tests a telephone number against a voice normalization rule and returns the number after the normalization rule has been applied.
Test-DataClassification Exchange Online Find the confidence and count of a sensitive information type that's found in a specified text string.
Test-EcpConnectivity Exchange Online Test connectivity to Exchange Control Panel (ECP) virtual directories. **Note**: This cmdlet works best in Exchange 2010. In later...
Test-EdgeSynchronization Exchange Online Diagnose whether the subscribed Edge Transport servers have a current and accurate synchronization status.
Test-ExchangeSearch Exchange Online Test that Exchange Search is currently enabled and is indexing new email messages in a timely manner.
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-SPOSite SharePoint Online Tests a SharePoint Online site collection.
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...