Command
Copy-TeamIncremental
Description
The command to rerun a team copy session in incremental mode.
Index
Examples
Run a team incremental copy using the session id directly
$source = Connect-Tenant -Domain sourcetenant $destination = Connect-Tenant -Domain destinationtenant Copy-TeamIncremental -SessionId 211027-1 -SourceTenant $source -DestinationTenant $destination
Run team incremental copies on sessions found using Find-CopySessions
$source = Connect-Tenant -Domain sourcetenant $destination = Connect-Tenant -Domain destinationtenant $sessions = Find-CopySessions -From startDate -To endDate $sessions | ForEach-Object { Copy-TeamIncremental -SessionId $_.Id -SourceTenant $source -DestinationTenant $destination }
Syntax
Copy-TeamIncremental-SessionId <String> -SourceTenant <Tenant> -DestinationTenant <Tenant>[-CopyOptions <TeamCopyOptions>] [-NormalMode <SwitchParameter>] [-MappingSettings <MappingSettings>] [-TaskName <String>]
Parameters
-CopyOptions <TeamCopyOptions>
Specifies the destination team copy options.
Required? | False |
Default value | None |
Accept pipeline input? | False |
Accept wildcard characters? | False |
Parameter set name | (All) |
Aliases | None |
-DestinationTenant <Tenant>
Specifies the destination SharePoint Admin center site.
Required? | True |
Default value | None |
Accept pipeline input? | False |
Accept wildcard characters? | False |
Parameter set name | (All) |
Aliases | None |
-MappingSettings <MappingSettings>
Specifies the mapping settings.
Required? | False |
Default value | None |
Accept pipeline input? | False |
Accept wildcard characters? | False |
Parameter set name | (All) |
Aliases | None |
-NormalMode <SwitchParameter>
Specifies that the normal mode should be used. Note: Insane mode is always used by default in PowerShell.
Required? | False |
Default value | None |
Accept pipeline input? | False |
Accept wildcard characters? | False |
Parameter set name | (All) |
Aliases | None |
-SessionId <String>
Specifies the team copy session to do an incremental.
Required? | True |
Default value | None |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Accept wildcard characters? | False |
Parameter set name | (All) |
Aliases | None |
-SourceTenant <Tenant>
Specifies the source SharePoint Admin center site.
Required? | True |
Default value | None |
Accept pipeline input? | False |
Accept wildcard characters? | False |
Parameter set name | (All) |
Aliases | None |
-TaskName <String>
Specifies a name for the task.
Required? | False |
Default value | None |
Accept pipeline input? | False |
Accept wildcard characters? | False |
Parameter set name | (All) |
Aliases | None |