Skip to content

Latest commit

 

History

History
55 lines (49 loc) · 2.27 KB

File metadata and controls

55 lines (49 loc) · 2.27 KB
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

Get-SPOTenantRenameSitePrioritization

SYNOPSIS

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

SYNTAX

Get-SPOTenantRenameSitePrioritization [<CommonParameters>]

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.

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

System.Object

NOTES

RELATED LINKS

Advanced Tenant Rename