Powershell 2.3.0 or Powershell 2.0.0 and more

 Well it's been a while. Today I plan do record a new Podcast from Teams Cast Away.  My guest today is Thorbjørn Værp an MVP from PointTaken. So you better check out where you listen to podcast.

Powershell 2.3.0 or 2.0.0 that is the question

Last week we got a version of Powershell module for Teams. The new version is 2.3.0. The old one was 2.0.0. The question is, do I need to upgrade or wait.
It's not often I say this, please wait. Why?
I and many more who works with Direct Routing where we need to run commands like 

Set-CsUser -Identity "sip:who.am.i@comtoso.com" -EnterpriseVoiceEnabled $true -HostedVoiceMail $false -OnPremLineURI tel:+4720030020

Well first of all -identity is not a part of this any more, now it's -ID thats ok.
More concern is 
-EnterpriseVoiceEnabled $true This is not a part of this any more
and the same with -HostedVoiceMail $false 

You might get error when trying to downgrade back to 2.0.0 or if you are lucky it migth works. Did not that for me :-(
Read more about it here: https://techcommunity.microsoft.com/t5/microsoft-teams/microsoft-teams-powershell-module-v2-3-set-csuser-broken/m-p/2310236

There are also a great article about this from Office365ItPros.
Based on this my advice is to stay on 2.0,0 until the bugs are fixed. 

No comments:

Post a Comment