| external help file | Microsoft.Online.SharePoint.PowerShell.dll-Help.xml |
|---|---|
| Module Name | Microsoft.Online.SharePoint.PowerShell |
| online version | https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/get-spotenantrenamesiteprioritization |
| applicable | SharePoint Online |
| title | Get-SPOTenantRenameSitePrioritization |
| author | AnfraMsft |
| ms.author | anfra |
| ms.reviewer | anushmag |
| manager | anushmag |
| schema | 2.0.0 |
Returns the list of sites that are prioritized for early execution, as part of Advanced Tenant Rename.
Get-SPOTenantRenameSitePrioritization [<CommonParameters>]
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.
Get-SPOTenantRenameSitePrioritizationThis example will return the list of sites prioritized for the Advanced Tenant Rename scheduled in the tenant, if one exists.
Get-SPOTenantRenameSitePrioritization | Measure-ObjectThis example will return the count of prioritized sites.
Get-SPOTenantRenameSitePrioritization | Out-File -FilePath .\sites.txtThis example will download the list of prioritized sites and saves it as file 'sites.txt' in the current directory.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.