PowerShell commands 323

Clear
CommandWorkloadWhat it does
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.
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-SPOSiteRestrictedAppAccessControlList SharePoint Online Adds or removes application IDs in a site's Application Restrictions allow or deny list in one atomic update.
Set-SPOSiteRestrictedAppAccessControlMode SharePoint Online Sets the active mode of the site-level Application Restrictions policy to `Allow` or `Deny`, preserving site enablement and both lists.
Set-SPOSiteScript SharePoint Online Updates a previously uploaded site script.
Set-SPOSiteScriptPackage SharePoint Online Updates a previously uploaded site script package. The package file must be a zip archive containing all the files necessary for the...
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-SPOTenantRestrictedAppAccessControlList SharePoint Online Adds or removes application IDs in the tenant-wide Application Restrictions deny list in one atomic update.
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. >...