PowerShell commands 2,358

CommandWorkloadWhat it does
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-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-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-SweepRule Exchange Online Disable Sweep rules in mailboxes.
Disable-TransportAgent Exchange Online Disable a transport agent.
Disable-TransportRule Exchange Online Disable transport rules (mail flow rules) in your organization.
Disable-UMAutoAttendant Exchange Online Disable an existing Unified Messaging (UM) auto attendant that's enabled.
Disable-UMCallAnsweringRule Exchange Online Disable a call answering rule that is created within a UM-enabled mailbox.
Disable-UMIPGateway Exchange Online Disable a Unified Messaging (UM) IP gateway.
Disable-UMMailbox Exchange Online Disable Unified Messaging (UM) for UM-enabled mailboxes.
Disable-UMServer Exchange Online Set the status of an Exchange Server 2010 Unified Messaging (UM) server to disabled. This prevents the Unified Messaging server from...
Disable-UMService Exchange Online Set the status of an Exchange Server 2010 Unified Messaging server to disabled. This prevents the UM server from processing UM incoming...
Disconnect-ExchangeOnline Exchange Online For more information, see About the Exchange Online PowerShell module. Use the Disconnect-ExchangeOnline cmdlet in the Exchange Online...
Disconnect-MicrosoftTeams Microsoft Teams
Disconnect-SPOService SharePoint Online Disconnects from a SharePoint Online service.
Dismount-Database Exchange Online Dismount databases. You can run this command only if the Microsoft Exchange Information Store service is running.
Dump-ProvisioningCache Exchange Online Return a list of the cached keys and values for the specified server and Windows PowerShell application.