Example Scripts
Moving users from OnPrem to O365
[hashtable]$User = @{}
$User.UPN = "[email protected]"
#Assign Licences (UcmPsTools Cmdlets)
#Enterprise Voice
#Grant-UcmOffice365UserLicence -upn $user.upn -LicenceType 'MCOEV' -Country 'AU'
#Telstra Calling
#Grant-UcmOffice365UserLicence -upn $user.upn -LicenceType 'MCOPSTNEAU2' -Country 'AU'
#Enable O365 Apps (UcmPsTools Cmdlets)
#Skype for Business Online
#Enable-UcmO365Service -upn $user.upn -ServiceName MCOSTANDARD
#Teams
#Enable-UcmO365Service -upn $user.upn -ServiceName TEAMS1
#Telstra Calling
#Enable-UcmO365Service -upn $user.upn -ServiceName MCOPSTNEAU
#Clear Local attributes
SkypeForBusiness\Set-CsUser -Identity $user.upn -LineUri $null -EnterpriseVoiceEnabled $False
#Move the user to O365
Move-CsUser -Identity $user.upn -Target sipfed.online.lync.com -MoveToTeams -HostedMigrationOverrideUrl $url -Confirm:$false -ProxyPool SfbFe1.contoso.com -BypassAudioConferencingCheck -UseOAuth
Grant-CsTeamsUpgradePolicy -PolicyName UpgradeToTeams -Identity $user.upn
Grant-CsTenantDialPlan -Identity $user.upn -PolicyName "VICTasDialplan-Unrestricted"Creating Number Forwards using Auto Attendants
Last updated