PowerShell commands 372

Clear
CommandWorkloadWhat it does
Remove-AcceptedDomain Exchange Online Remove an accepted domain. When you remove an accepted domain, the accepted domain object is deleted.
Remove-ActiveSyncDevice Exchange Online Remove mobile device partnerships that identify the devices that are configured to synchronize with user mailboxes. **Note**: In...
Remove-ActiveSyncDeviceAccessRule Exchange Online Remove any existing device access rule.
Remove-ActiveSyncDeviceClass Exchange Online Clean up the list of mobile devices synchronizing with Microsoft Exchange.
Remove-ActiveSyncMailboxPolicy Exchange Online Remove mobile device mailbox policies. **Note**: In Exchange 2013 or later, use the Remove-MobileDeviceMailboxPolicy cmdlet instead. If...
Remove-ActiveSyncVirtualDirectory Exchange Online Remove existing Exchange ActiveSync virtual directories from Internet Information Services (IIS) virtual directories on Exchange servers.
Remove-AdaptiveScope Exchange Online For more information, see Security & Compliance PowerShell. Use the Remove-AdaptiveScope cmdlet to remove adaptive scopes from your organization.
Remove-AddressBookPolicy Exchange Online Delete an address book policy. You can't remove the address book policy if it's still assigned to a user's mailbox. In Exchange Online,...
Remove-AddressList Exchange Online Remove existing address lists. In Exchange Online, To use this cmdlet, you need to add the Address Lists role to a role group (for...
Remove-AddressRewriteEntry Exchange Online This cmdlet is available or effective only on Edge Transport servers in on-premises Exchange. Use the Remove-AddressRewriteEntry cmdlet...
Remove-ADPermission Exchange Online Remove permissions from an Active Directory object.
Remove-AIGeneratedKnowledge Microsoft Teams The `Remove-AIGeneratedKnowledge` cmdlet is available only to Teams administrators and is designed to delete the AI-generated meeting...
Remove-AntiPhishPolicy Exchange Online Remove antiphish policies from your cloud-based organization.
Remove-AntiPhishRule Exchange Online Remove antiphish rules from your cloud-based organization.
Remove-App Exchange Online Uninstall an app.
Remove-ApplicationAccessPolicy Exchange Online Remove application access policies. These changes might take up to 30 minutes to go live.
Remove-AppRetentionCompliancePolicy Exchange Online For more information, see Security & Compliance PowerShell. Use the Remove-AppRetentionCompliancePolicy to remove app retention...
Remove-AppRetentionComplianceRule Exchange Online For more information, see Security & Compliance PowerShell. Use the Remove-AppRetentionComplianceRule to remove app retention compliance rules.
Remove-ATPProtectionPolicyRule Exchange Online Remove rules from Microsoft Defender for Office 365 protections in preset security policies. The rules specify recipient conditions and...
Remove-AttachmentFilterEntry Exchange Online This cmdlet is available or effective only on Edge Transport servers in on-premises Exchange. Use the Remove-AttachmentFilterEntry...
Remove-AuthenticationPolicy Exchange Online Remove authentication policies from your organization.
Remove-AuthRedirect Exchange Online Remove OAuth redirection objects that are used for legacy Microsoft Exchange 2010 Client Access servers in your organization.
Remove-AuthServer Exchange Online Remove an authorization server.
Remove-AutodiscoverVirtualDirectory Exchange Online Remove an existing Autodiscover virtual directory from Internet Information Services (IIS).
Remove-AutoSensitivityLabelPolicy Exchange Online For more information, see Security & Compliance PowerShell. Use the Remove-AutoSensitivityLabelPolicy cmdlet to remove auto-labeling...
Remove-AutoSensitivityLabelRule Exchange Online For more information, see Security & Compliance PowerShell. Use the Remove-AutoSensitivityLabelPolicy cmdlet to remove auto-labeling...
Remove-AvailabilityAddressSpace Exchange Online Remove existing availability address space objects and the associated credentials that were used to share free/busy data across Exchange...
Remove-AvailabilityConfig Exchange Online Remove the availability configuration that specifies the Microsoft 365 organizations to exchange free/busy information with.
Remove-AvailabilityReportOutage Exchange Online Remove existing outages that have been added with the New-AvailabilityReportOutage cmdlet. Other outages must be modified with the...
Remove-BlockedConnector Exchange Online Unblock inbound connectors that have been detected as potentially compromised. Blocked connectors are prevented from sending email.
Remove-BlockedSenderAddress Exchange Online Unblock users in your Microsoft 365 organization that were affected by the protection system. These users sent multiple messages that...
Remove-CalendarEvents Exchange Online Cancel future meetings in user or resource mailboxes. Cancelling future meetings removes them from attendee and resource calendars (for...
Remove-CaseHoldPolicy Exchange Online For more information, see Security & Compliance PowerShell. Use the Remove-CaseHoldPolicy cmdlet to remove case hold policies from the...
Remove-CaseHoldRule Exchange Online For more information, see Security & Compliance PowerShell. Use the Remove-CaseHoldRule cmdlet to remove case hold rules from the...
Remove-ClassificationRuleCollection Exchange Online Use the Remove-ClassificationRuleCollection to remove classification rule collections from your organization. In Security & Compliance...
Remove-ClientAccessArray Exchange Online Remove RPC Client Access arrays (load-balanced arrays of Client Access servers within a single Active Directory site).
Remove-ClientAccessRule Exchange Online > [!NOTE] > Client access rules were deprecated for all Exchange Online organizations in September 2025. For more information, see...
Remove-ComplianceCase Exchange Online For more information, see Security & Compliance PowerShell. Use the Remove-ComplianceCase cmdlet to remove compliance cases from the...
Remove-ComplianceCaseMember Exchange Online For more information, see Security & Compliance PowerShell. Use the Remove-ComplianceCaseMember cmdlet to remove a single member from an...
Remove-ComplianceRetentionEventType Exchange Online For more information, see Security & Compliance PowerShell. Use the Remove-ComplianceRetentionEventType cmdlet to remove retention event...
Remove-ComplianceSearch Exchange Online Remove compliance searches from Exchange Server 2016 and from the Microsoft Purview compliance portal. The searches must be stopped or...
Remove-ComplianceSearchAction Exchange Online For more information, see Security & Compliance PowerShell. Use the Remove-ComplianceSearch cmdlet to remove compliance search actions...
Remove-ComplianceSecurityFilter Exchange Online This cmdlet is functional only in Security & Compliance PowerShell. For more information, see Security & Compliance PowerShell. Use the...
Remove-ComplianceTag Exchange Online For more information, see Security & Compliance PowerShell. Use the Remove-ComplianceTag cmdlet to remove retention labels from the...
Remove-ContentFilterPhrase Exchange Online Remove one or all custom words that the Content Filter agent processes.
Remove-CsAgent Microsoft Teams Deletes an AI Agent.
Remove-CsApplicationAccessPolicy Microsoft Teams Deletes an existing application access policy.
Remove-CsAutoAttendant Microsoft Teams Delete an Auto Attendant (AA).
Remove-CsAutoRecordingTemplate Microsoft Teams Deletes an Auto recording template.
Remove-CsCallingLineIdentity Microsoft Teams Remove a Caller ID policy from your organization.
Remove-CsCallQueue Microsoft Teams The Remove-CsCallQueue cmdlet deletes an existing Call Queue.
Remove-CsComplianceRecordingForCallQueueTemplate Microsoft Teams Delete a Compliance Recording for Call Queues template.
Remove-CsCustomPolicyPackage Microsoft Teams This cmdlet deletes a custom policy package.
Remove-CsExternalAccessPolicy Microsoft Teams Enables you to remove an existing external access policy.
Remove-CsGroupPolicyAssignment Microsoft Teams This cmdlet is used to remove a group policy assignment.
Remove-CsHybridTelephoneNumber Microsoft Teams This cmdlet removes a hybrid telephone number.
Remove-CsInboundBlockedNumberPattern Microsoft Teams Removes a blocked number pattern from the tenant list.
Remove-CsInboundExemptNumberPattern Microsoft Teams Removes a number pattern exempt from call blocking.
Remove-CsMainlineAttendantAppointmentBookingFlow Microsoft Teams The Remove-CsMainlineAttendantAppointmentBookingFlow cmdlet deletes an existing Mainline attendant appointment booking flow.
Remove-CsMainlineAttendantQuestionAnswerFlow Microsoft Teams The Remove-CsMainlineAttendantQuestionAnswerFlow cmdlet deletes an existing Mainline attendant question and answer flow.