Commands › SharePoint Online

Get-SPOSiteContentMoveState

SharePoint Online Microsoft.Online.SharePoint.PowerShell Get-*

This Cmdlet allows a SharePoint administrators to check the status of a site or group move.

Quick start script

# Get-SPOSiteContentMoveState — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-SPOService -Url https://$org-admin.sharepoint.com

# 2. Run and inspect
Get-SPOSiteContentMoveState -SiteMoveId <Guid> -SourceSiteUrl <String> | Format-List

# 3. Export for evidence / drift tracking
Get-SPOSiteContentMoveState | Export-Clixml .\SPOSiteContentMoveState-$(Get-Date -Format yyyyMMdd).xml

Syntax — 3 parameter sets

MoveReport (Default)

Get-SPOSiteContentMoveState [-Limit <UInt32>] [-MoveStartTime <DateTime>] [-MoveEndTime <DateTime>]
 [-MoveState <MoveState>] [-MoveDirection <MoveDirection>] [<CommonParameters>]

SourceSiteUrl

Get-SPOSiteContentMoveState -SourceSiteUrl <String> [<CommonParameters>]

SiteMoveId

Get-SPOSiteContentMoveState -SiteMoveId <Guid> [<CommonParameters>]

Parameters (7)

ParameterTypeRequiredWhat it controls
-Limit UInt32 Specifies the maximum number of Content move states to return.
-MoveDirection MoveDirection Possible values for this parameter are: - MoveOut - MoveIn - All
-MoveEndTime DateTime End date and time for the time window between which Content move states are to be retrieved.
-MoveStartTime DateTime Start date and time for the time window between which Content move states are to be retrieved.
-MoveState MoveState This parameter is used to specify the move state of the Content move states to retrieve. Possible values: - NotStarted - InProgress - Success - Failed - Stopped - Queued - NotSupported - Rescheduled - All
-SiteMoveId Guid yes Id of the Site move to retrieve.
-SourceSiteUrl String yes ### CommonParameters

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.