Avatar of Kerenzia King
Kerenzia King

asked on 

Managing Office 365

Hello,

I am looking for a script  with For each loop statement
Reading users from a csv file with UPN and URI  number, and  moving the users from on premises to Skype online

Set-CsUser -Identity "<UserName>" -EnterpriseVoiceEnabled $true -HostedVoiceMail $true -OnPremLineURI tel:+
Set-CsUserPstnSettings  UserName  -HybridPSTNSite
Grant-CsVoicePolicy -Identity <UserName>"  -PolicyName  "<PolicyName>"

Many Thanks in Advance.
PowershellMicrosoft OfficeMicrosoft 365Skype

Avatar of undefined
Last Comment
Vasil Michev (MVP)

8/22/2022 - Mon