PowerShell commands 372

Clear
CommandWorkloadWhat it does
Remove-SPODeletedSite SharePoint Online Removes a SharePoint Online deleted site collection from the Recycle Bin.
Remove-SPOExternalUser SharePoint Online Removes a collection of external users from the tenancy's folder.
Remove-SPOFileArchivePolicy SharePoint Online Removes (soft-deletes) a file archive policy.
Remove-SPOFileRequestBrandingProfile SharePoint Online Removes a branding profile (either primary or secondary) configured for the file request feature across the tenant.
Remove-SPOFontFile SharePoint Online Removes a SharePoint brand font file from the tenant's brand fonts library.
Remove-SPOFontPackage SharePoint Online Removes a brand font package from the tenant.
Remove-SPOGeoAdministrator SharePoint Online Removes a new SharePoint user or security Group in the current Multi-Geo Tenant.
Remove-SPOHomeSite SharePoint Online Removes the current SharePoint Online Home site setting.
Remove-SPOHubSiteAssociation SharePoint Online Removes a site from its associated hub site.
Remove-SPOHubToHubAssociation SharePoint Online Removes the selected hub site from its parent hub.
Remove-SPOListDesign SharePoint Online Removes a list design. It no longer appears in the UI for creating a new list.
Remove-SPOListFileVersionBatchDeleteJob SharePoint Online Cancels further processing of a trim job for a document library.
Remove-SPOMigrationJob SharePoint Online Cmdlet to remove a previously created migration job from the specified site collection.
Remove-SPOMultiGeoCompanyAllowedDataLocation SharePoint Online Use this cmdlet to remove a multi geo allowed location.
Remove-SPOOrgAssetsLibrary SharePoint Online Removes a library that was designated as a central location for organization assets across the tenant.
Remove-SPOOrgNewsSite SharePoint Online Removes a given site from the list of organizational news sites based on its URL in your SharePoint Online Tenant
Remove-SPOPublicCdnOrigin SharePoint Online Removes a given public CDN origin based on its identity (id) in your SharePoint Online Tenant
Remove-SPOSdnProvider SharePoint Online Removes Software-Defined Networking (SDN) Support in your SharePoint Online tenant
Remove-SPOServicePrioritizationAppRegistration SharePoint Online Removes an app registration from service prioritization in SharePoint Online.
Remove-SPOServicePrioritizationAppRegistrationsByPolicy SharePoint Online Removes all app registrations linked to a specific SharePoint Online Service Prioritization billing policy.
Remove-SPOServicePrioritizationBillingPolicy SharePoint Online Removes all app registrations linked to a SharePoint Online Service Prioritization billing policy and then deletes the billing policy itself.
Remove-SPOSite SharePoint Online Sends a SharePoint Online site collection to the SharePoint Online Recycle Bin.
Remove-SPOSiteCollectionAppCatalog SharePoint Online Removes the site collection app catalog.
Remove-SPOSiteCollectionAppCatalogById SharePoint Online Removes the site collection app catalog by the id of the site collection.
Remove-SPOSiteDesign SharePoint Online Removes a site design. It no longer appears in the UI for creating a new site.
Remove-SPOSiteDesignTask SharePoint Online Command to remove a scheduled site design script.
Remove-SPOSiteFileVersionBatchDeleteJob SharePoint Online Stops further processing of site level trim job that is in-progress.
Remove-SPOSiteGroup SharePoint Online Removes a SharePoint Online group from a site collection.
Remove-SPOSiteManageVersionPolicyJob SharePoint Online Stops processing of the in-progress manage version policy job for the given site. > [!NOTE] > This feature is currently in preview and...
Remove-SPOSiteScript SharePoint Online Removes a site script.
Remove-SPOSiteToFileArchivePolicy SharePoint Online Removes a site from a file archive policy.
Remove-SPOSiteUserInvitations SharePoint Online .
Remove-SPOSiteVersionPolicyJob SharePoint Online Cancels further processing of version settings update on existing document libraries on the site collection.
Remove-SPOStorageEntity SharePoint Online Tenant properties allow tenant administrators to add properties in the app catalog that can be read by various SharePoint Framework...
Remove-SPOTenantApplyFileVersionPolicyJob SharePoint Online Stops further processing of tenant apply file version policy job that is in progress. SharePoint Advanced Management license or Copilot...
Remove-SPOTenantCdnOrigin SharePoint Online Removes a new origin from the Public or Private content delivery network (CDN). Requires Tenant administrator permissions.
Remove-SPOTenantRenameSitePrioritization SharePoint Online Allows removal of the prioritization previously assigned to a site for early execution, as part of Advanced Tenant Rename.
Remove-SPOTenantSyncClientRestriction SharePoint Online Disables the feature for the tenancy.
Remove-SPOTheme SharePoint Online Removes a theme from the theme gallery.
Remove-SPOUser SharePoint Online Removes a user or a security group from a site collection or a group.
Remove-SPOUserInfo SharePoint Online Do not use.
Remove-SPOUserProfile SharePoint Online Remove user profile from the tenant.
Remove-StoreMailbox Exchange Online Purge the mailbox and all of its message content from the mailbox database. This results in permanent data loss for the mailbox being...
Remove-SupervisoryReviewPolicyV2 Exchange Online For more information, see Security & Compliance PowerShell. Use the Remove-SupervisoryReviewPolicyV2 cmdlet to remove supervisory review...
Remove-SweepRule Exchange Online Remove Sweep rules from mailboxes.
Remove-SyncMailPublicFolder Exchange Online The Remove-SyncMailPublicFolder cmdlet is used by the Sync-MailPublicFolders.ps1 script to remove mail-enabled public folder recipient...
Remove-SystemMessage Exchange Online Remove custom system messages. System messages are delivery status notifications (also known as DSNs, non-delivery reports, NDRs or...
Remove-Team Microsoft Teams This cmdlet deletes a specified Team from Microsoft Teams. NOTE: The associated Office 365 Unified Group will also be removed.
Remove-TeamChannel Microsoft Teams Delete a channel.
Remove-TeamChannelUser Microsoft Teams Removes a user from a channel in Microsoft Teams.
Remove-TeamsApp Microsoft Teams Removes an app in the Teams tenant app store.
Remove-TeamTargetingHierarchy Microsoft Teams Removes the tenant's hierarchy.
Remove-TeamUser Microsoft Teams Remove an owner or member from a team, and from the unified group which backs the team.
Remove-TenantAllowBlockListItems Exchange Online Remove entries from the Tenant Allow/Block List in the Microsoft Defender portal.
Remove-TenantAllowBlockListSpoofItems Exchange Online Remove spoofed sender entries from the Tenant Allow/Block List.
Remove-ThrottlingPolicy Exchange Online Remove a non-default Microsoft Exchange throttling policy.
Remove-TransportRule Exchange Online Remove transport rules (mail flow rules) from your organization.
Remove-UMAutoAttendant Exchange Online Delete a Unified Messaging (UM) auto attendant.
Remove-UMCallAnsweringRule Exchange Online Remove an existing Unified Messaging (UM) call answering rule.
Remove-UMDialPlan Exchange Online Delete an existing Unified Messaging (UM) dial plan.