PowerShell commands 2,358

CommandWorkloadWhat it does
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...
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.
Unlock-SPOSensitivityLabelEncryptedFile SharePoint Online It removes encryption on a Sensitivity label encrypted file in SharePoint Online. No need to download the file.
Unregister-CsOnlineDialInConferencingServiceNumber Microsoft Teams Unassigns the previously assigned service number as default Conference Bridge number.
Unregister-SPOHubSite SharePoint Online Disables the hub site feature on a site.
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-CsAutoAttendant Microsoft Teams Use Update-CsAutoAttendant cmdlet to force an update of resources associated with an Auto Attendant (AA) provisioning.
Update-CsCustomPolicyPackage Microsoft Teams **Note:** This cmdlet is currently in private preview. This cmdlet updates a custom policy package.
Update-CsPhoneNumberTag Microsoft Teams This cmdlet allows admin to update existing telephone number tags.
Update-CsTeamTemplate Microsoft Teams This cmdlet submits an operation that updates a custom team template with new team template settings.
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-M365TeamsApp Microsoft Teams This cmdlet updates app state and app available values for the Microsoft Teams app.
Update-M365UnifiedCustomPendingApp Microsoft Teams This cmdlet updates the review status for a custom Microsoft Teams app that is pending review from an IT Admin. The requester to publish...