Microsoft Teams Power Shell Script :
Finding the list of call Forwarding Enabled users
Hello
All
Hope everyone is doing good. In blog , we are going to see, to find out the list of end users who enabled the call forwarding in their MS Teams client level.
Set up call forwarding is the straight forward steps to enable ,
To start
forwarding your calls, select Settings and more ... next
to your profile picture at the top of Teams. Then select Settings > Calls.
Under Call answering rules, choose Forward my calls, and then select where you want your forwarded calls to go: voicemail, another person, or a call group
As a Teams administrator , we can enable this call forwarding feature in Teams Admin center. That's different story
However,
in some scenario's you may be asked by the business or support
to provide the list of end users who enabled call forwarding feature for any
purpose and here the powershell script stands for - the simple one with For
each method.
Keep the
list of end user's UPN in the text file
=================================================================
$users =
Get-Content .\users.txt
foreach
($user in $users) {
Get-CsUserCallingSettings
-identity "$User" | select SipUri, IsForwardingEnabled,
ForwardingType
}
Set-CsUserCallingSettings
- Using this command we can change the settings from the back end for
multiple users at a time
I Hope ,
you enjoyed this tiny script and the features and Happy Learning 😊
Comments
Post a Comment