Skip to content

Instantly share code, notes, and snippets.

@AlexanderHolmeset
Created November 25, 2022 10:00
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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