PowerShell commands 301

Clear
CommandWorkloadWhat it does
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.
Repair-SPOSite SharePoint Online Checks and repairs the site collection and its contents.
Request-SPOPersonalSite SharePoint Online Requests that one or more users be enqueued for a Personal Site to be created.
Request-SPOUpgradeEvaluationSite SharePoint Online Requests to create a copy of an existing site collection for the purposes of validating the effects of upgrade without affecting the...
Restore-SPODataEncryptionPolicy SharePoint Online Cmdlet to restore customer encryption status for your geo tenant when in recovery mode. For more information, see Controlling your data...
Restore-SPODeletedContainer SharePoint Online Recovers a deleted Container from the Recycle Bin.
Restore-SPODeletedSite SharePoint Online Restores a SharePoint Online deleted site collection from the Recycle Bin.
Revoke-SPOHubSiteRights SharePoint Online Revokes rights for specified principals to a hub.
Revoke-SPOSiteDesignRights SharePoint Online Revokes rights for specified principals from a site design.
Revoke-SPOTenantServicePrincipalPermission SharePoint Online Revokes a permission that was previously granted to the "SharePoint Online Client" service principal
Revoke-SPOUserSession SharePoint Online Provides IT administrators the ability to invalidate a particular users' O365 sessions across all their devices.
Set-SPOApplication SharePoint Online Sets or updates one or more configuration of a SharePoint Embedded application.
Set-SPOApplicationPermission SharePoint Online Manages permissions for a guest application to access a SharePoint Embedded application.
Set-SPOBrowserIdleSignOut SharePoint Online Sets the current configuration values for Idle session sign-out.
Set-SPOBuiltInDesignPackageVisibility SharePoint Online Sets the visibility of the available built-in Design Packages at moment of site creation.
Set-SPOBuiltInFontPackageSettings SharePoint Online Use this cmdlet to set settings of built-in font packages.
Set-SPOBuiltInSiteTemplateSettings SharePoint Online Sets all or specific Microsoft-provided SharePoint site templates to be displayed or hidden in the site template gallery in your tenant....
Set-SPOContainer SharePoint Online Sets or updates one or more property values for a container in SharePoint Embedded.
Set-SPOContainerType SharePoint Online Sets or updates one or more property values of a trial, standard or a direct to customer billed container type.
Set-SPOContainerTypeConfiguration SharePoint Online Sets or updates the configuration settings of a container type in SharePoint Embedded.
Set-SPOContainerUser SharePoint Online Reassigns a user from their current role to a new role within a SharePoint Embedded container.
Set-SPOContentEventEmailAddresses SharePoint Online Adds the email addresses to the specified category of content event. Consequently, notification emails will be sent to these addresses.
Set-SPOCopilotPromoOptInStatus SharePoint Online Sets the Opt-In Copilot promo status for the tenant.
Set-SPOCrossTenantRelationship SharePoint Online This cmdlet sends a trust request to the tenant with whom you want to establish trust.