PowerShell commands 2,358

CommandWorkloadWhat it does
Set-WebServicesVirtualDirectory Exchange Online Modify existing Exchange Web Services virtual directories that are used in Internet Information Services (IIS) on Microsoft Exchange servers.
Set-X400AuthoritativeDomain Exchange Online Edit an existing X.400 authoritative domain for your organization. The X.400 authoritative domain defines the standard fields for the...
Start-ComplianceSearch Exchange Online Start stopped, completed or not started compliance searches in Exchange Server 2016 or later and in the Microsoft Purview compliance...
Start-CsExMeetingMigration Microsoft Teams This cmdlet manually trigger a meeting migration request for the specified user.
Start-DatabaseAvailabilityGroup Exchange Online Reincorporate one or more previously failed members of a database availability group (DAG).
Start-EdgeSynchronization Exchange Online Immediately start synchronization of configuration data from Active Directory to the subscribed Edge Transport servers.
Start-HistoricalSearch Exchange Online Start a new historical search.
Start-InformationBarrierPoliciesApplication Exchange Online For more information, see Security & Compliance PowerShell. Use the Start-InformationBarrierPoliciesApplication cmdlet to apply active...
Start-MailboxAssistant Exchange Online Start processing of a mailbox by the specified assistant.
Start-MailboxSearch Exchange Online Restart or resume a mailbox search that's been stopped. **Note**: As of October 2020, the \*-MailboxSearch cmdlets are retired in...
Start-ManagedFolderAssistant Exchange Online Immediately start messaging records management (MRM) processing of mailboxes that you specify.
Start-MigrationBatch Exchange Online Start a move request or migration batch that was created with the New-MigrationBatch cmdlet.
Start-MigrationUser Exchange Online This cmdlet is functional only in the cloud-based service. Use the Start-MigrationUser cmdlet to start the migration of a user in an...
Start-RetentionAutoTagLearning Exchange Online Start auto-tagging for a specified mailbox or to cross-validate auto-tagging results for the mailbox. Messaging records management (MRM)...
Start-SPOAuditDataCollectionForActivityInsights SharePoint Online This cmdlet starts collecting audit data for reports on activities from the last 28 days, such as sharing link reports and content...
Start-SPOCopilotAgentInsightsReport SharePoint Online Using this cmdlet, administrators may trigger the build of a new Copilot agent insight report for the specified number of days. >...
Start-SPODataAccessGovernanceInsight SharePoint Online This cmdlet generates Data Access Governance (DAG) reports meant to provide insights into potential oversharing of sensitive data in...
Start-SPOEnterpriseAppInsightsReport SharePoint Online This cmdlet enables administrator to trigger the build of a new enterprise application insights report for the last N days.
Start-SPOInformationBarriersInsightsReport SharePoint Online Generates a new report to identify and discover the usage patterns of Information Barriers (IB) across SharePoint sites and OneDrive...
Start-SPORestrictedAccessForSitesInsights SharePoint Online This cmdlet starts the generation of a new restricted access control insights report based on data from the previous 28 days.
Start-SPOSiteContentMove SharePoint Online Start a job to move a particular user or group of users to be moved across geo locations relative to the one that executes the command
Start-SPOSiteOpticalCharacterRecognitionBackfill SharePoint Online > [!important] > Optical Character Recognition (OCR) is a pay-as-you-go feature. Running this cmdlet will incur cost for your...
Start-SPOSiteRename SharePoint Online > [!NOTE] > This Feature is part of the Admin Center Preview. If your tenant is not part of the Admin Center Preview, you will get an...
Start-SPOSiteReview SharePoint Online SharePoint Administrators can delegate access governance of sites to corresponding site owners through 'site access review'. The 'access...
Start-SPOTenantRename SharePoint Online > [!IMPORTANT] > This feature is currently available to organizations that have no more than 10,000 total SharePoint sites and OneDrive...
Start-SPOUnifiedGroupMove SharePoint Online Initiates the move of an Office 365 Group to a new geo location
Start-SPOUserAndContentMove SharePoint Online Starts the ability to move a user closer to their sites.
Stop-ComplianceSearch Exchange Online Stop running compliance searches in Exchange Server 2016 or later and in the Microsoft Purview compliance portal.
Stop-DatabaseAvailabilityGroup Exchange Online Mark a member of a database availability group (DAG) as failed, or to mark all DAG members in a specific Active Directory site as failed.
Stop-HistoricalSearch Exchange Online Stop an existing historical search that has a status value of NotStarted.
Stop-InformationBarrierPoliciesApplication Exchange Online For more information, see Security & Compliance PowerShell. Use the Stop-InformationBarrierPoliciesApplication cmdlet to stop the...
Stop-MailboxSearch Exchange Online Stop a mailbox search that's in progress. **Note**: As of October 2020, the \*-MailboxSearch cmdlets are retired in Exchange Online...
Stop-ManagedFolderAssistant Exchange Online Immediately stop messaging records management (MRM) from processing users' mailboxes on the specified servers.
Stop-MigrationBatch Exchange Online Stop the processing of a migration batch that's in progress.
Stop-MigrationUser Exchange Online This cmdlet is functional only in the cloud-based service. Use the Stop-MigrationUser cmdlet to stop the migration of a user in an...
Stop-SPOAuditDataCollectionForActivityInsights SharePoint Online This cmdlet stops collecting audit data for reports on activities from the last 28 days, such as sharing link reports and content shared...
Stop-SPOSiteContentMove SharePoint Online Stops a job to move a particular user or group of users to be moved across geo locations relative to the one that executes the command.
Stop-SPOTenantRename SharePoint Online > [!IMPORTANT] > This feature is currently available to organizations that have no more than 10,000 total SharePoint sites and OneDrive...
Stop-SPOUserAndContentMove SharePoint Online In a Multi-Geo company, stops the ability to move a user's content related objects in a SharePoint Online Tenant
Submit-SPOMigrationJob SharePoint Online **Note**: This cmdlet has been deprecated. To migrate to SharePoint and Microsoft 365 using PowerShell, see Migrate to SharePoint using...
Suspend-MailboxDatabaseCopy Exchange Online Block replication and replay activities (log copying and replay) or activation for a database configured with two or more database copies.
Suspend-MailboxExportRequest Exchange Online Suspend an export request any time after the request was created, but before the request reaches the status of Completed. You can resume...
Suspend-MailboxImportRequest Exchange Online Suspend an import request any time after the request was created, but before the request reaches the status of Completed. You can resume...
Suspend-MailboxRestoreRequest Exchange Online Suspend a restore request any time after the request was created, but before the request reaches the status of Completed. You can resume...
Suspend-Message Exchange Online Prevent delivery of a particular message in a queue on a Mailbox server or an Edge Transport server.
Suspend-MoveRequest Exchange Online Suspend a move request any time after the move request was created, but before it reaches the status of CompletionInProgress. You can...
Suspend-PublicFolderMailboxMigrationRequest Exchange Online Suspend individual jobs in public folder migration batches that were created by using the New-MigrationBatch cmdlet.
Suspend-PublicFolderMigrationRequest Exchange Online Suspend serial public folder migration requests (requests created by the New-PublicFolderMigrationRequest cmdlet). You can suspend...
Suspend-PublicFolderMoveRequest Exchange Online Suspend a move request any time after the move request was created, but before it reaches the status of CompletionInProgress. You can...
Suspend-PublicFolderReplication Exchange Online Stop public folder replication for the organization.
Suspend-Queue Exchange Online Stop processing for a queue on a Mailbox server or an Edge Transport server.
Switch-SPOFileRequestBrandingProfiles SharePoint Online Switches the primary and secondary file request branding profiles configured for the tenant.
Sync-CsOnlineApplicationInstance Microsoft Teams Sync the application instance from Microsoft Entra ID into Agent Provisioning Service.
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.