Redigera

Dela via


Get-SPOTenantRenameSitePrioritization

Returns the list of sites that are prioritized for early execution, as part of Advanced Tenant Rename.

Syntax

Get-SPOTenantRenameSitePrioritization []

Description

This cmdlet can be used to view the currently prioritized sites, as part of Advanced Tenant Rename.

The output is a list of all site URLs, one per row. If desired, the output can be downloaded using the standard PowerShell Out-File option. If you want just the count of prioritized sites, you can use the standard Measure-Object option.

You must be at least a SharePoint Online administrator to run the cmdlet.

Examples

Example 1

Get-SPOTenantRenameSitePrioritization

This example will return the list of sites prioritized for the Advanced Tenant Rename scheduled in the tenant, if one exists.

Example 2

Get-SPOTenantRenameSitePrioritization | Measure-Object

This example will return the count of prioritized sites.

Example 3

Get-SPOTenantRenameSitePrioritization | Out-File -FilePath .\sites.txt

This example will download the list of prioritized sites and saves it as file 'sites.txt' in the current directory.

Inputs

None

Outputs

System.Object