Created
June 25, 2018 09:11
-
-
Save kazuple/fb2e66782561b6743aa9921d9b8ca799 to your computer and use it in GitHub Desktop.
SfBServer - Bulk Migrate Users Online
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$creds=Get-Credential | |
$MigrateToSfBOCSV= Import-Csv #CSV Location# | |
$MigrateToSfBOCSV | % { Move-CsUser -Identity $_.Identity -Target sipfed.online.lync.com -Credential $creds -HostedMigrationOverrideUrl https://<SfB URL Here>.online.lync.com/HostedMigration/hostedmigrationService.svc -Confirm:$False | |
Write-host "User " $_.Identity " Migrated OK" -ForegroundColor Green | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment