Teams Mobile Feature updates for iOS

There are two handy features for the mobile client coming out quite soon. The first one is a better integration on the file storage integration. File-picker will soon (if not already for you) enable you to select different locations to attach files from. On my personal device, I can now pick from OneDrive, Google Drive and Dropbox. This feature should be rolling out to most tenants already The second feature coming out is the capability to hide (or show) Teams calls in the native iOS call log. I am looking forward to this as I have more than once accidentally called someone back with the wrong modality when I'm not in the office and not on Wi-Fi. Be aware that calls made prior to turning this feature off (removing calls from the call log). Already placed calls will remain in the list. The setting only applies to new calls. This last feature should be rolling out in September .

Listing all deployed numbers in Lync

Even though all the numbers can be found through the CSCP og powershell, I have customers who do not want to remember commands, or just want a list (print out) of all the numbers which has been assigned to users, devices and services.

And for that exact reason, I have created a simple script to gather this information, and to publish it in a html file. The script and commands used here are pretty basic, but it could be extended to include more properties or other "get-commands".

The script looks something like this:


I shouldn't need much explanation, but for those of you who have not created html files through "convert-html" before I'l write a line or two about the file construct.

All HTML files will need a head and a body element, and this is the first thing I create in this script. Once this is in place, you can have control over colors, sizes, frames, borders or whatever you feel like tweaking.

There is another way to construct your html, and it can be found here (this is where I found the inspiration): http://technet.microsoft.com/en-us/library/ff730936.aspx it will give you a better description of the convert-html command than I can do. However, there is a downside to use the -head and -body in more than one output line, you will get several html and body constructs in your output file, which is why I create the head and body first, and then use the -fragment switch in my convert-html statements. (I like it nice and clean)

The script can be found here.

Did I miss any numbers or do you see room for improvements? Please let me know.

Comments

Tommy said…
Great work, thanks for sharing
nano said…
Thanks!, very good script.
Vidar Thomassen said…
Brilliant script!
Quick and smart.

Small bug in script counting Users with enabled lineURI:

###############################################
#
# Counting the number of users with a lineURI and listing them
#
###############################################
------ snip ------
------ snip ------
#get-csuser in counting must be filtered ... as in output query.

foreach ($lineuri in get-csuser -Filter {LineURI -ne $Null}) {
$counting++
}
write-output $counting
}
$Showcounter += countmy-users
------ snip ------
------ snip ------

# Then the first query, use the "select-object" to specify the properties you want to include in your output
Get-CsUser -Filter {LineURI -ne $Null} | sort -Property lineuri | Select-Object LineURI,Name,sipaddress | ConvertTo-HTML | Out-File $file -append

------ snip ------
Thank you! I thoughts I had fixed that bug already. Thank you for alerting me. I'll fix it shortly. :)