PowerShell commands 301

Clear
CommandWorkloadWhat it does
Set-SPOCustomFontCatalog SharePoint Online Generates an organization fonts catalog and uploads the font files and catalog files to a SharePoint Organization Asset Library.
Set-SPODisableSpacesActivation SharePoint Online Disables the SharePoint Spaces activation.
Set-SPOFileArchivePolicy SharePoint Online Updates an existing file archive policy.
Set-SPOFontPackage SharePoint Online Applies a brand font package to a SharePoint site or Viva Connections.
Set-SPOGeoStorageQuota SharePoint Online This cmdlet sets the storage quota on a multi-geo tenant.
Set-SPOHideDefaultThemes SharePoint Online Specifies whether the default themes should be available.
Set-SPOHomeSite SharePoint Online Sets a SharePoint Site as a Home Site.
Set-SPOHubSite SharePoint Online Sets the hub site information such as name, logo, and description.
Set-SPOListVersionPolicy SharePoint Online Sets the version policy setting on the document library.
Set-SPOMigrationPackageAzureSource SharePoint Online Cmdlet to create Azure containers, upload migration package files into the appropriate containers and snapshot the uploaded content.
Set-SPOMultiGeoCompanyAllowedDataLocation SharePoint Online Adds a multi-geo allowed location.
Set-SPOMultiGeoExperience SharePoint Online Used to set a geo location into SPO mode.
Set-SPOOrgAssetsLibrary SharePoint Online Updates information for a library that is designated as a location for organization assets.
Set-SPOOrgNewsSite SharePoint Online Marks a site as one of multiple possible tenant's organizational news sites. Requires at least SharePoint administrator permissions.
Set-SPORestrictedSiteCreation SharePoint Online Sets or updates one or more group configurations for restricting site creation.
Set-SPORestrictedSiteCreationForApps SharePoint Online Sets or updates one or more app configurations for restricting site creation.
Set-SPOServicePrioritizationAppRegistration SharePoint Online Updates an existing app registration for service prioritization in SharePoint Online.
Set-SPOSite SharePoint Online Sets or updates one or more properties' values for a site collection.
Set-SPOSiteArchiveState SharePoint Online Sets the archived state of the site. Can be used to archive and reactivate sites.
Set-SPOSiteDesign SharePoint Online Updates a previously uploaded site design.
Set-SPOSiteGroup SharePoint Online Updates the SharePoint Online owner and permission levels on a group inside a site collection.
Set-SPOSiteOffice365Group SharePoint Online Connects a top-level SPO site collection to a new Microsoft 365 Group.
Set-SPOSiteScript SharePoint Online Updates a previously uploaded site script.
Set-SPOStorageEntity SharePoint Online Tenant properties allow tenant administrators to add properties in the app catalog that can be read by various SharePoint Framework...
Set-SPOStructuralNavigationCacheSiteState SharePoint Online Enable or disable caching for all webs in a site collection.
Set-SPOStructuralNavigationCacheWebState SharePoint Online Enable or disable caching for a web in a site collection.
Set-SPOTenant SharePoint Online Sets properties on the SharePoint Online organization.
Set-SPOTenantCdnEnabled SharePoint Online Enables or disables Public content delivery network (CDN) or Private CDN on the tenant level. Requires Tenant administrator permissions.
Set-SPOTenantCdnPolicy SharePoint Online Sets the content delivery network (CDN) policies at the tenant level.
Set-SPOTenantContentTypeReplicationParameters SharePoint Online Select content types for replication
Set-SPOTenantPreAuthSettings SharePoint Online Sets the configuration of pre-authentication.
Set-SPOTenantRenameSitePrioritization SharePoint Online Allows prioritization of a site for early execution, as part of Advanced Tenant Rename.
Set-SPOTenantSyncClientRestriction SharePoint Online Controls tenant-wide options and restrictions specific to syncing files.
Set-SPOTenantTaxonomyReplicationParameters SharePoint Online Select groups for replication
Set-SPOUnifiedGroup SharePoint Online Sets the Preferred Data Location (PDL) for the specified Office 365 Group. The customer tenant must be multi-geo enabled.
Set-SPOUser SharePoint Online Configures properties on an existing user.
Set-SPOWebTheme SharePoint Online Sets the theme for a SharePoint site.
Start-SPOAuditDataCollectionForActivityInsights SharePoint Online This cmdlet starts collecting audit data for reports on activities from the last 28 days, such as sharing link reports and content...
Start-SPOCopilotAgentInsightsReport SharePoint Online Using this cmdlet, administrators may trigger the build of a new Copilot agent insight report for the specified number of days. >...
Start-SPODataAccessGovernanceInsight SharePoint Online This cmdlet generates Data Access Governance (DAG) reports meant to provide insights into potential oversharing of sensitive data in...
Start-SPOEnterpriseAppInsightsReport SharePoint Online This cmdlet enables administrator to trigger the build of a new enterprise application insights report for the last N days.
Start-SPOInformationBarriersInsightsReport SharePoint Online Generates a new report to identify and discover the usage patterns of Information Barriers (IB) across SharePoint sites and OneDrive...
Start-SPORestrictedAccessForSitesInsights SharePoint Online This cmdlet starts the generation of a new restricted access control insights report based on data from the previous 28 days.
Start-SPOSiteContentMove SharePoint Online Start a job to move a particular user or group of users to be moved across geo locations relative to the one that executes the command
Start-SPOSiteOpticalCharacterRecognitionBackfill SharePoint Online > [!important] > Optical Character Recognition (OCR) is a pay-as-you-go feature. Running this cmdlet will incur cost for your...
Start-SPOSiteRename SharePoint Online > [!NOTE] > This Feature is part of the Admin Center Preview. If your tenant is not part of the Admin Center Preview, you will get an...
Start-SPOSiteReview SharePoint Online SharePoint Administrators can delegate access governance of sites to corresponding site owners through 'site access review'. The 'access...
Start-SPOTenantRename SharePoint Online > [!IMPORTANT] > This feature is currently available to organizations that have no more than 10,000 total SharePoint sites and OneDrive...
Start-SPOUnifiedGroupMove SharePoint Online Initiates the move of an Office 365 Group to a new geo location
Start-SPOUserAndContentMove SharePoint Online Starts the ability to move a user closer to their sites.
Stop-SPOAuditDataCollectionForActivityInsights SharePoint Online This cmdlet stops collecting audit data for reports on activities from the last 28 days, such as sharing link reports and content shared...
Stop-SPOSiteContentMove SharePoint Online Stops a job to move a particular user or group of users to be moved across geo locations relative to the one that executes the command.
Stop-SPOTenantRename SharePoint Online > [!IMPORTANT] > This feature is currently available to organizations that have no more than 10,000 total SharePoint sites and OneDrive...
Stop-SPOUserAndContentMove SharePoint Online In a Multi-Geo company, stops the ability to move a user's content related objects in a SharePoint Online Tenant
Submit-SPOMigrationJob SharePoint Online **Note**: This cmdlet has been deprecated. To migrate to SharePoint and Microsoft 365 using PowerShell, see Migrate to SharePoint using...
Switch-SPOFileRequestBrandingProfiles SharePoint Online Switches the primary and secondary file request branding profiles configured for the tenant.
Test-SPOSite SharePoint Online Tests a SharePoint Online site collection.
Unlock-SPOSensitivityLabelEncryptedFile SharePoint Online It removes encryption on a Sensitivity label encrypted file in SharePoint Online. No need to download the file.
Unregister-SPOHubSite SharePoint Online Disables the hub site feature on a site.
Update-SPODataEncryptionPolicy SharePoint Online Updates customer encryption status for a geo tenant.