PowerShell commands 323

Clear
CommandWorkloadWhat it does
Get-SPOSitePages SharePoint Online This cmdlet allows you to retrieve all SharePoint pages under a specific SharePoint site.
Get-SPOSiteRenameState SharePoint Online Returns the current rename job state of a SharePoint Online Site.
Get-SPOSiteRestrictedAppAccessControl SharePoint Online Returns the complete site-level Application Restrictions policy for a site, including enablement, active mode, and both the allow list...
Get-SPOSiteReview SharePoint Online Track all site access reviews initiated from Data Access Governance (DAG) reports.
Get-SPOSiteScript SharePoint Online Displays information about existing site scripts.
Get-SPOSiteScriptFromList SharePoint Online Creates site script syntax from an existing SharePoint list.
Get-SPOSiteScriptFromWeb SharePoint Online Creates site script syntax from an existing SharePoint site.
Get-SPOSiteUserInvitations SharePoint Online Searches against all stored sharing links and retrieves the email invites.
Get-SPOSiteVersionPolicyJobProgress SharePoint Online Gets the progress of setting version policy for existing document libraries on the site collection.
Get-SPOStorageEntity SharePoint Online Tenant properties allow tenant administrators to add properties in the app catalog that can be read by various SharePoint Framework...
Get-SPOStructuralNavigationCacheSiteState SharePoint Online Get the structural navigation caching state for a site collection.
Get-SPOStructuralNavigationCacheWebState SharePoint Online Get the structural navigation caching state for a web.
Get-SPOTenant SharePoint Online Returns SharePoint Online organization properties.
Get-SPOTenantApplyFileVersionPolicyJobImpact SharePoint Online Estimates how many versions would be trimmed and how much storage would be freed if a trimming job were run with the given version...
Get-SPOTenantApplyFileVersionPolicyJobProgress SharePoint Online Gets the status for a tenant apply file version policy job. SharePoint Advanced Management license or Copilot license is required to run...
Get-SPOTenantCdnEnabled SharePoint Online Returns whether Public content delivery network (CDN) or Private CDN is enabled on the tenant level. Requires Tenant administrator permissions.
Get-SPOTenantCdnOrigins SharePoint Online Lists all the configured origins under the tenancy or under a given site. You must be a SharePoint Online administrator to run this cmdlet.
Get-SPOTenantCdnPolicies SharePoint Online Get the public or private Policies applied on your SharePoint Online Tenant. Requires Tenant administrator permissions.
Get-SPOTenantContentTypeReplicationParameters SharePoint Online Gets content types for replication parameters
Get-SPOTenantLogEntry SharePoint Online Retrieves SharePoint Online company logs. This cmdlet is reserved for internal Microsoft use.
Get-SPOTenantLogLastAvailableTimeInUtc SharePoint Online Returns the most recent time when the SharePoint Online organization logs were collected.
Get-SPOTenantPreAuthSettings SharePoint Online Gets the configuration of pre-authentication.
Get-SPOTenantRenameSitePrioritization SharePoint Online Returns the list of sites that are prioritized for early execution, as part of Advanced Tenant Rename.
Get-SPOTenantRenameStatus SharePoint Online > [!IMPORTANT] > This feature is currently available to organizations that have no more than 10,000 total SharePoint sites and OneDrive...
Get-SPOTenantRestrictedAppAccessControl SharePoint Online Returns the tenant-level Application Restrictions policy, including the tenant enforcement switch and the tenant-wide deny list of...
Get-SPOTenantServicePrincipalPermissionGrants SharePoint Online Gets the collection of permission grants for the "SharePoint Online Client" service principal
Get-SPOTenantServicePrincipalPermissionRequests SharePoint Online Gets the collection of permission requests for the "SharePoint Online Client" service principal
Get-SPOTenantSyncClientRestriction SharePoint Online Returns the current configuration status.
Get-SPOTenantTaxonomyReplicationParameters SharePoint Online Get the replication parameters to manage Multi-Geo taxonomy replication.
Get-SPOTenantVersionPolicy SharePoint Online Returns the current tenant-level file version policy as an `SPOFileVersionPolicySettings` object.
Get-SPOTheme SharePoint Online
Get-SPOUnifiedGroup SharePoint Online Retrieves the Preferred Data Location for the specified Office 365 Group.
Get-SPOUnifiedGroupMoveState SharePoint Online Returns the state of an Office 365 Group move between Preferred Data Locations.
Get-SPOUser SharePoint Online Returns the SharePoint Online user or security group accounts that match a given search criteria.
Get-SPOUserAndContentMoveState SharePoint Online This cmdlet allows SharePoint administrators to check the status of a user or site move across geo locations.
Get-SPOUserOneDriveLocation SharePoint Online This cmdlet will return the user principal name, current location, and corresponding OneDrive for Business url, and the site ID. This...
Get-SPOVersionPolicyWithChanges SharePoint Online Returns a locally modified copy of a version policy.
Get-SPOWebTemplate SharePoint Online Displays all site templates that match the given identity.
Grant-SPOHubSiteRights SharePoint Online Grants rights to users or mail-enabled security groups to associate their site with a hub site.
Grant-SPOSiteDesignRights SharePoint Online Used to apply permissions to a set of users or a security group, effectively scoping the visibility of the site design in the UX. They...
Invoke-SPOMigrationEncryptUploadSubmit SharePoint Online **Note**: This cmdlet has been deprecated. To migrate to SharePoint and Microsoft 365 using PowerShell, see Migrate to SharePoint using...
Invoke-SPOSiteDesign SharePoint Online Applies a published site design to a specified site collection target. This allows a site design to be applied to an existing site...
Invoke-SPOSiteSwap SharePoint Online Invokes a job to swap the location of a site with another site while archiving the original site.
New-SPOAppBillingPolicy SharePoint Online Creates a new billing policy for an application owned by the tenant.
New-SPOContainerTenantApplyFileVersionPolicyJob SharePoint Online Queues a job to apply a file version policy across all containers of a SharePoint Embedded (SPE) container type. SharePoint Advanced...
New-SPOContainerType SharePoint Online This cmdlet creates a new container type of standard or trial status. The standard container type can be created with the regular...
New-SPOFileArchivePolicy SharePoint Online Creates a new file archive policy for the tenant.
New-SPOListFileVersionBatchDeleteJob SharePoint Online Queues a job to trim versions from a document library.
New-SPOListFileVersionExpirationReportJob SharePoint Online Starts generating file version expiration report for a document library.
New-SPOMigrationEncryptionParameters SharePoint Online **Note**: This cmdlet has been deprecated. To migrate to SharePoint and Microsoft 365 using PowerShell, see Migrate to SharePoint using...
New-SPOMigrationPackage SharePoint Online Cmdlet to create a new migration package based on source files in a local or network shared folder. > [!NOTE] > This cmdlet has been...
New-SPOPublicCdnOrigin SharePoint Online Creates a new public CDN on a document library in your SharePoint Online Tenant
New-SPOSdnProvider SharePoint Online Adds a new Software-Defined Networking (SDN) provider
New-SPOServicePrioritizationBillingPolicy SharePoint Online Creates a new billing policy for service prioritization in SharePoint Online.
New-SPOSite SharePoint Online Creates a new SharePoint Online site collection for the current company.
New-SPOSiteFileVersionBatchDeleteJob SharePoint Online Queues a job to trim versions for all document libraries in a site collection.
New-SPOSiteFileVersionExpirationReportJob SharePoint Online Generates a version storage usage report for a site collection. This report can be used to understand current version storage footprint...
New-SPOSiteGroup SharePoint Online Creates a new group in a SharePoint Online site collection.
New-SPOSiteManageVersionPolicyJob SharePoint Online Starts a background job to manage file versions and version history limits for all document libraries in the given site. > [!NOTE] >...
New-SPOSiteSharingReportJob SharePoint Online Creates a new sharing report job.