Stop-PnPUserAndContentMove
SYNOPSIS
Stops a SharePoint Online multi-geo user and OneDrive content move job.
SYNTAX
Stop-PnPUserAndContentMove [-UserPrincipalName] <String> [-Connection <PnPConnection>]
DESCRIPTION
Stops a SharePoint Online multi-geo move job for a user and the user's OneDrive content.
EXAMPLES
EXAMPLE 1
Stop-PnPUserAndContentMove -UserPrincipalName user@contoso.com
Stops the move job for the specified user.
PARAMETERS
-Connection
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
Type: PnPConnection
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-UserPrincipalName
The user principal name of the user whose user and OneDrive content move job should be stopped.
Type: String
Parameter Sets: (All)
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
OUTPUTS
System.String
Returns The given move job has been stopped. Please run start cmdlet to restart the move. when the move job has been stopped.