PowerShell commands 301

Clear
CommandWorkloadWhat it does
Add-SPOContainerTypeBilling SharePoint Online Adds the mentioned billing profile details to a standard container type.
Add-SPOContainerUser SharePoint Online Adds a user to a SharePoint Embedded container with a specified role.
Add-SPOContentSecurityPolicy SharePoint Online Adds a source to the **Content Security Policy** configuration.
Add-SPOFileRequestBrandingProfile SharePoint Online Adds a branding profile for the file request feature by specifying logo and background assets from an existing organization asset library.
Add-SPOFontPackage SharePoint Online Creates a new custom font package with fonts in the brand fonts library.
Add-SPOGeoAdministrator SharePoint Online Adds a new SharePoint user or security group as GeoAdministrator to a multi-geo tenant.
Add-SPOHubSiteAssociation SharePoint Online Associates a site with a hub site.
Add-SPOHubToHubAssociation SharePoint Online Associates a hub site to a hub site. Note: This feature is currently in preview and may not be available in your tenant.
Add-SPOListDesign SharePoint Online Creates a new list or document library design available to users when they create a new list or document library from site contents,...
Add-SPOOrgAssetsLibrary SharePoint Online Designates a library to be used as a central location for organization assets across the tenant.
Add-SPOServicePrioritizationAppRegistration SharePoint Online Adds a new app registration for service prioritization in SharePoint Online.
Add-SPOSiteCollectionAppCatalog SharePoint Online Adds a Site Collection scoped App Catalog to a site.
Add-SPOSiteDesign SharePoint Online Creates a new site design available to users when they create a new site from the SharePoint home page.
Add-SPOSiteDesignTask SharePoint Online Similar to Invoke-SPOSiteDesign, this command is used to apply a published site design to a specified site collection target. It...
Add-SPOSiteScript SharePoint Online Uploads a new site script for use either directly or in a site design.
Add-SPOSiteToFileArchivePolicy SharePoint Online Adds a site to a file archive policy.
Add-SPOTenantCdnOrigin SharePoint Online Configures a new origin to public or private content delivery network (CDN). Requires Tenant administrator permissions.
Add-SPOTheme SharePoint Online Creates a new custom theme, or overwrites an existing theme to modify its settings.
Add-SPOUser SharePoint Online Adds an existing Office 365 user or an Office 365 security group to a SharePoint group.
Approve-SPOTenantServicePrincipalPermissionGrant SharePoint Online Approves a permission request for the current tenant's "SharePoint Online Client" service principal.
Approve-SPOTenantServicePrincipalPermissionRequest SharePoint Online Approves a permission request for the current tenant's "SharePoint Online Client" service principal
Clear-SPOTenantPreAuthSettings SharePoint Online Clears the pre-authentication settings for either the allow or deny list.
Connect-SPOService SharePoint Online Connects a SharePoint Administrator or SharePoint Embedded Administrator to the SharePoint admin center. You must run this cmdlet before...
ConvertTo-SPOMigrationEncryptedPackage SharePoint Online Use this Cmdlet to convert your XML files into a new encrypted migration package.
ConvertTo-SPOMigrationTargetedPackage SharePoint Online Use this cmdlet to convert your XML files into a new migration package.
Copy-SPOPersonalSitePage SharePoint Online This cmdlet command allows you to relocate existing SharePoint pages by utilizing an existing copy operation. We will also copy any...
Deny-SPOTenantServicePrincipalPermissionRequest SharePoint Online Denies a permission request for the current tenant's "SharePoint Online Client" service principal
Disconnect-SPOService SharePoint Online Disconnects from a SharePoint Online service.
Enable-SPOCommSite SharePoint Online Enables the communication site experience on an existing classic team site. Please read instructions in modernize classic team site...
Enable-SPOTenantServicePrincipal SharePoint Online Enables the current tenant's "SharePoint Online Client" service principal.
Export-SPODataAccessGovernanceInsight SharePoint Online This cmdlet downloads the Data Access Governance (DAG) reports to the specified path. The default is the "Downloads" folder.
Export-SPOQueryLogs SharePoint Online Export query logs for a user in an Office 365 tenant. > [!NOTE] > Beginning February 2022, we'll be removing the Export-SPOQueryLogs...
Export-SPOUserInfo SharePoint Online Export user information from site user information list.
Export-SPOUserProfile SharePoint Online Export user profile data to csv file.
Get-FileSensitivityLabelInfo SharePoint Online Extracts and displays the sensitivity label related information attached to an office file stored in SharePoint.
Get-SPOAppBillingPolicies SharePoint Online Returns billing policies that are owned by the tenant.
Get-SPOAppErrors SharePoint Online Returns application errors.
Get-SPOAppInfo SharePoint Online Returns all installed applications.
Get-SPOApplication SharePoint Online Returns a list of SharePoint Embedded applications in the specified tenant.
Get-SPOAuditDataCollectionStatusForActivityInsights SharePoint Online Lists the current status of audit data collection for reports on activities from the last 28 days in the SharePoint admin center.
Get-SPOBrowserIdleSignOut SharePoint Online Used to retrieve the current configuration values for Idle session sign-out policy.
Get-SPOBuiltInDesignPackageVisibility SharePoint Online Gets the visibility of the available built-in Design Packages.
Get-SPOBuiltInFontPackageSettings SharePoint Online Use this cmdlet to get settings of built-in font packages.
Get-SPOBuiltInSiteTemplateSettings SharePoint Online Get the current state of Microsoft-provided SharePoint site templates displayed or hidden in the site template gallery in your tenant.
Get-SPOContainer SharePoint Online Returns one or more containers in a SharePoint Embedded application.
Get-SPOContainerType SharePoint Online Returns one or more container types created in the tenant.
Get-SPOContainerTypeConfiguration SharePoint Online Use this cmdlet to read the configuration values set on the container type.
Get-SPOContentEventEmailAddresses SharePoint Online Retrieves email addresses associated with a specific content event category. If no category is specified by the user, email addresses...
Get-SPOContentSecurityPolicy SharePoint Online Returns all sources in the current **Content Security Policy** configuration.
Get-SPOCopilotAgentInsightsReport SharePoint Online This cmdlet enables the administrator to check status of all active and available reports when no report ID is present and to view or...
Get-SPOCrossGeoMovedUsers SharePoint Online In a multi-geo tenant returns the SharePoint Online user (or users) that had been moved.
Get-SPOCrossGeoMoveReport SharePoint Online Provides a report of objects moved between geo locations.
Get-SPOCrossGeoUsers SharePoint Online Returns the SharePoint Online users in a multi-geo tenant that match the criteria.
Get-SPOCrossTenantCompatibilityStatus SharePoint Online Determines the compatibility with the partner tenant.
Get-SPOCrossTenantHostUrl SharePoint Online Returns the cross-tenant host URL.
Get-SPOCustomCdnSiteCollectionApps SharePoint Online Retrieves all app installations that use a custom content delivery network (CDN) for a specific site collection.
Get-SPOCustomCdnTenantApps SharePoint Online Retrieves all apps that use a custom content delivery network (CDN) from the Tenant App Catalog.
Get-SPODataAccessGovernanceInsight SharePoint Online Lists various 'Data Access Governance' (DAG) reports in SharePoint admin center.
Get-SPODataEncryptionPolicy SharePoint Online .
Get-SPODeletedContainer SharePoint Online Returns all deleted Containers in the Recycle Bin.