11th MVP Award Rewarded

I am actually on vacation, but as I sit here under the summer sun, toes in the pool and a cold drink within reach, I have been waiting for that email confirming that I’ve been awarded my 11th Microsoft MVP Award! As last year, I am being awarded in both the Teams and Copilot category. To say I’m humbled would be an understatement. Being part of the global Microsoft MVP community for over a decade now has been an incredible journey, filled with learning, sharing, speaking, and connecting with passionate technologists from every corner of the world. What is the Microsoft MVP Award? The Microsoft Most Valuable Professional (MVP) award is given to technology experts who share their knowledge and real-world expertise with communities. With fewer than 4,000 MVPs worldwide, it’s an honor to be part of such a vibrant and dedicated group. MVPs contribute through speaking engagements, writing, open-source contributions, and helping others online and offline. You can learn more about the progra...

Searching for that LineURI

Organizing and maintaining your entire dial-plan in Lync can at times be tough work. Easy enough when you're a small company, but try keeping score when reach 3-4000 DID's in your system.

I've been working closely with a customer of that size lately, and they asked me if there was anything I could do to help them when they had to allocate a new number (or move) to one of their employees. 

It turned out they were not able to keep score of available numbers, or where certain numbers were assigned. 

The first task was simple enough. I showed them Ståle Hansen's (http://msunified.net) script for identifying unused numbers. Big hit! 

However, the customer also wanted a quick way of identifying where a number was assigned, and if possible, to do the search with a wildcard (the lync client only returns an identity when a normalization rule has been matched).

I gave it a thought and created the following script to do a search through powershell. (download and rename to .ps1 to run).

The script asks for an input, then adds * to the input to make it a "wildcard" search.
It will then run several "get-" commands to see if any matches can be found within a known user, device, service or application.


The screen shot above is only the beginning of the script, but it should give you an idea of what it's doing.

When the script is run in a live environment, it's output could look like this:


In my demo environment the search only returned 1 user, but if there were more matches to the 4 digits entered in the search, there would be more hits.

I hope you find this script useful, as I did. In one my upcoming posts, I will post a script to export all used numbers to a searchable html file.