PowerShell commands 2,424

CommandWorkloadWhat it does
Clean-MailboxDatabase Exchange Online Scan Active Directory for disconnected mailboxes that aren't yet marked as disconnected in the Microsoft Exchange store and update the...
Clear-ActiveSyncDevice Exchange Online Delete all data from a mobile device. **Note**: In Exchange 2013 or later, use the Clear-MobileDevice cmdlet instead. If you have...
Clear-CsOnlineTelephoneNumberOrder Microsoft Teams Cancel a specific telephone number search order and release the telephone numbers. The telephone numbers can then be available for...
Clear-MobileDevice Exchange Online Delete all data from a mobile phone. This action is often called a remote device wipe.
Clear-SPOSiteRestrictedAppAccessControlList SharePoint Online Clears a site's Application Restrictions allow or deny list while preserving the other list, active mode, and site enablement.
Clear-SPOSiteRestrictedAppAccessControlPolicy SharePoint Online Removes the complete Application Restrictions policy from a site. The cmdlet disables enforcement and removes the active mode and both lists.
Clear-SPOTenantPreAuthSettings SharePoint Online Clears the pre-authentication settings for either the allow or deny list.
Clear-SPOTenantRestrictedAppAccessControlPolicy SharePoint Online Turns off the tenant Application Restrictions enforcement switch and clears the tenant-wide deny list.
Clear-TeamsEnvironmentConfig Microsoft Teams Clears environment-specific configurations from the local machine set by running Set-TeamsEnvironmentConfig.
Clear-TextMessagingAccount Exchange Online The Clear-TextMessagingAccount cmdlet allows a user to remove the text messaging settings from their own mailbox. An administrator can't...
Compare-TextMessagingVerificationCode Exchange Online Verify the text messaging verification code that the user specified as part of configuring text message notifications on the mailbox.
Complete-CsOnlineTelephoneNumberOrder Microsoft Teams Complete a specific telephone number search order and confirm the purchase of the new telephone numbers. The telephone numbers can then...
Complete-MigrationBatch Exchange Online Finalize a migration batch that has successfully finished initial synchronization.
Connect-ExchangeOnline Exchange Online For more information, see About the Exchange Online PowerShell module. Use the Connect-ExchangeOnline cmdlet in the Exchange Online...
Connect-IPPSSession Exchange Online For more information, see About the Exchange Online PowerShell module. Use the Connect-IPPSSession cmdlet in the Exchange Online...
Connect-Mailbox Exchange Online Connect disconnected mailboxes to existing user accounts that don't already have mailboxes.
Connect-MicrosoftTeams Microsoft Teams The Connect-MicrosoftTeams cmdlet connects an authenticated account for use with cmdlets from the MicrosoftTeams module.
Connect-PowerBIServiceAccount Power BI Log in to the Power BI service.
Connect-SPOService SharePoint Online Connects a SharePoint Administrator or SharePoint Embedded Administrator to the SharePoint admin center. You must run this cmdlet before...
ConvertTo-SPOMigrationEncryptedPackage SharePoint Online Use this Cmdlet to convert your XML files into a new encrypted migration package.
ConvertTo-SPOMigrationTargetedPackage SharePoint Online Use this cmdlet to convert your XML files into a new migration package.
Copy-PowerBIReport Power BI Creates a copy of the specified Power BI report.
Copy-PowerBITile Power BI Creates a copy of the specified Power BI tile and adds it to a Power BI dashboard.
Copy-SPOPersonalSitePage SharePoint Online This cmdlet command allows you to relocate existing SharePoint pages by utilizing an existing copy operation. We will also copy any...
Delete-QuarantineMessage Exchange Online Delete quarantine messages from your cloud-based organization
Deny-SPOTenantServicePrincipalPermissionRequest SharePoint Online Denies a permission request for the current tenant's "SharePoint Online Client" service principal
Disable-AddressListPaging Exchange Online Disable Active Directory virtual list view for address lists. Virtual list view displays address lists in your organization as pages...
Disable-AntiPhishRule Exchange Online Disable antiphish rules in your cloud-based organization.
Disable-App Exchange Online Disable (turn off) a specific app for a specific user.
Disable-ATPProtectionPolicyRule Exchange Online Use the Disable-ATPProtectionPolicyRule and Disable-EOPProtectionPolicyRule cmdlets together to turn off the Standard preset security...
Disable-CmdletExtensionAgent Exchange Online Disable existing cmdlet extension agents.
Disable-CsOnlineSipDomain Microsoft Teams This cmdlet prevents provisioning of users in Skype for Business Online for the specified domain.
Disable-DistributionGroup Exchange Online Remove email capabilities from existing mail-enabled security groups and distribution groups.
Disable-DnssecForVerifiedDomain Exchange Online Disable Domain Name System Security (DNSSEC) for inbound mail to accepted domains in Exchange Online.
Disable-EOPProtectionPolicyRule Exchange Online Turn off the Standard preset security policy or the Strict preset security policy. If your organization has Defender for Office 365, you...
Disable-HostedContentFilterRule Exchange Online Disable spam filter rules (content filter rules) in your cloud-based organization.
Disable-HostedOutboundSpamFilterRule Exchange Online Disable outbound spam filter rules in your cloud-based organization.
Disable-InboxRule Exchange Online Disable existing Inbox rules in mailboxes.
Disable-IPv6ForAcceptedDomain Exchange Online Disable or opt-out of support for mail delivery to accepted domains in Exchange Online using IPv6.
Disable-JournalArchiving Exchange Online Disable journal archiving for specific users. Microsoft 365 journal archiving uses mailboxes in Exchange Online to record or journal...
Disable-JournalRule Exchange Online Disable a journal rule on a Mailbox server.
Disable-Mailbox Exchange Online Disable the mailbox of existing users who already have mailboxes. For this cmdlet, a user could also be a public folder mailbox or an...
Disable-MailboxQuarantine Exchange Online Release quarantined mailboxes.
Disable-MailContact Exchange Online Remove email capabilities from existing mail contacts.
Disable-MailPublicFolder Exchange Online Mail-disable a public folder.
Disable-MailUser Exchange Online Remove email capabilities from existing mail users.
Disable-MalwareFilterRule Exchange Online Disable malware filter rules in your organization.
Disable-MetaCacheDatabase Exchange Online Disable the metacache database on Exchange 2019 Mailbox servers. The metacache database stores mailbox database indexes and secondary...
Disable-OutlookAnywhere Exchange Online Disable Outlook Anywhere on Exchange Server 2010 Client Access servers.
Disable-OutlookProtectionRule Exchange Online **Note**: This cmdlet is no longer supported in the cloud-based service. Use the Disable-OutlookProtectionRule cmdlet to disable an...
Disable-PushNotificationProxy Exchange Online Disable the push notification proxy that's configured between an on-premises Microsoft Exchange organization and a Microsoft 365 organization.
Disable-RemoteMailbox Exchange Online Remove user mailboxes from the cloud-based service but keep the associated user objects in the on-premises Active Directory.
Disable-ReportSubmissionRule Exchange Online Disable the report submission rule in your cloud-based organization. The report submission rule identifies the reporting mailbox where...
Disable-SafeAttachmentRule Exchange Online Disable safe attachment rules in your cloud-based organization. This cmdlet is also responsible for disabling complete Safe Attachments...
Disable-SafeLinksRule Exchange Online Disable enabled Safe Links rules in your cloud-based organization.
Disable-ServiceEmailChannel Exchange Online Disable the .NET service channel for a specific user. The .NET service channel enables Microsoft Exchange to store information that it...
Disable-SmtpDaneInbound Exchange Online Disable SMTP DNS-based Authentication of Named Entities (DANE) for inbound mail to accepted domains in Exchange Online.
Disable-SPOSiteRestrictedAppAccessControl SharePoint Online Turns off Application Restrictions enforcement for a site while preserving the active mode and both lists.
Disable-SPOTenantRestrictedAppAccessControl SharePoint Online Turns off the tenant Application Restrictions enforcement switch while preserving the tenant deny list.
Disable-SweepRule Exchange Online Disable Sweep rules in mailboxes.