Author's posts

Document Lync Server IP’s

I had the need to generate a list of all the IP addresses of our Lync environment. Unlike the screenshot’s below, the production environment I work in has hundreds of Lync servers scattered all around. So off to PowerShell I went and I whipped up this simple script. The first challenge is getting a list …

Continue reading

Lync Mobility Randomly (not) Working

We got hit up with an issue this morning that Lync Mobilty 2010 was not working for one of our 2010 pools. We were able to validate this and – as a side note – found that not many people are using it as we didn’t get hammered with tickets as we usually do with …

Continue reading

Gateway peer in inbound call is not found in topology document

I was bringing up a new SIP trunk recently. After some SIP Invite manipulations we got outbound calls working. One would think inbound calls would be pretty straightforward. Sadly, no. I kept seeing this message in the Lync logging tool and Googling provided little assistance: <?xml version=”1.0″ encoding=”us-ascii”?><reportError xmlns=”http://schemas.microsoft.com/2006/09/sip/error-reporting”><error callId=”2085379370307201314329@1.1.1.1″ fromUri=”sip:+13175551212@flinchbot.com;user=phone” toUri=”sip:+13455551212@flinchbot.com;user=phone” fromTag=”1c2085431640″ toTag=”” requestType=”INVITE” …

Continue reading

Clear out all Enterprise Voice Settings

In my Lync lab I often have to write scripts to automate the setting of Enterprise Voice values. In the process of doing this, I often need to reset my users to their base state, i.e. no Enterprise Voice values set. So I set about and wrote this simple script to wipe out all of …

Continue reading

PortQueryUI Config.xml File for Lync

**Updated 2016-10-07** At work we often use the Port Querycommand to test connectivity to services running on servers. We have a bunch of firewalls scattered all over the place and most of the time issues with Lync are due to firewall updates not having been made. The advantage to PortQry is that it can probe …

Continue reading

Working with Powershell Modules and Remote Sessions

I had a request yesterday to see which users in an Active Directory group had a Lync conferencing policy applied. Easy enough request but the hitch was that the group was in a different domain than where the Lync servers are hosted. What I learned during this exercise was how to load and unload PowerShell modules automatically and how …

Continue reading

Lync Holiday Sets for Canada + British Columbia

The below powershell code has all of the major holidays for Canada and British Columbia through 2015. If your business isn’t in BC, then simply delete the $k variable in the New-CsRgsHolidaySet command. Replace <poolname> below with either the name of your pool or the name of your standard edition server. $a = New-CsRgsHoliday -Name …

Continue reading

Lync Holiday Sets for the USA

The below powershell code has all of the major and minor holidays for the United States through 2015. If your business isn’t closed on the minor holidays, then simply delete those variables in the New-CsRgsHolidaySet command. Replace <poolname> below with either the name of your pool or the name of your standard edition server. $a = …

Continue reading

Blocking Premium Toll in Lync Dial Plans

I am building a dial plan where the need is to drop calls to premium toll numbers, such as 900/976 in the US. There is an elegant solution to this which is a much better user-friendly solution. Due to our infrastructure, I can't really implement that fix. Ideally, I need to block the call before …

Continue reading

The site ## was not found in the topology

We ran into a problem the past 36 hours when publishing our Lync topology. When publishing either via Topology Builder or via the Enable-CsTopology PowerShell cmdlet, the warnings seen in the screen shots below would occasionally pop up – The site ## was not found in the topoology. We knew that Site 19 was a site that we had …

Continue reading