Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$source = Connect-Tenant -Domain contoso.onmicrosoft.com -Browser
$destination = Connect-Tenant -Domain tailspin.onmicrosoft.com -Browser
#Enter the date from when the sesion you want to run incremental on is from.
$sessions = Find-CopySessions -From "11/25/2022"
$sessions | ForEach-Object { Copy-TeamIncremental -SessionId $_.Id -SourceTenant $source -DestinationTenant $destination }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment