Jun 21 2021 04:20 PM
Hello,
We are moving from Skype Online to Teams and we are assigning extensions to our users.
Does anyone know of a simple script that can output
"Username" and "Teams Phone Number or Teams Extension"
I've tried a few scripts but nothing seems to give me the information I need.
Thanks!
Jun 21 2021 11:46 PM
Jun 23 2021 06:14 PM
Jul 01 2021 09:51 AM
I think this is the result of using Format-Table as it creates a display object, not the data. I'd make a minor tweak to the code, and instead of format-table, I'd just use select-object.
Get-CsOnlineUser | Select UserPrincipalName,LineUri | Export-Csv -NoTypeInformation c:\temp\users.csv
Format-Table is great for presentation, but it can mess up when putting out to a file.
Aug 18 2021 02:08 PM
Mar 16 2022 12:11 PM