Using PowerShell to change DNS servers

  Using PowerShell to change DNS servers automatically EXAMPLE 1 PS C:\>Set-DnsClientServerAddress -InterfaceIndex 12 -ServerAddresses (“″,””) This example sets the DNS server addresses on a specified interface with the index value of 12. EXAMPLE 2 PS C:\>Set-DnsClientServerAddress –InterfaceIndex 12 -ResetServerAddresses This example resets the DNS client to use the default DNS server addresses specified by […]

Custom Active Directory Domain Services Filter

Using Event Viewer to find error states in the “Active Directory Domain Services” role can be a big pain. I have created a custom filter that only displays errors, warnings and criticals. <QueryList>   <Query Id=”0″ Path=”Directory Service”>     <Select Path=”Directory Service”>*[System[Provider[@Name=’Microsoft-Windows-ActiveDirectory_DomainService’] and (Level=1  or Level=2 or Level=3)]]</Select>     <Select Path=”Directory Service”>*[System[Provider[@Name=’NTDS ISAM’] and (Level=1  […]

Exchange 2013 and Lync 2010 Auto-attendant not working

After running an upgrade from Exchange 2010 to 2013 I began running into the issue that the voicemail for users was no longer working as intended. Several frustrating attempts to resolve this found a severe lack of documentation for this particular state of deployment. After a long, extensive search I came across a good post […]

Installing Lync 2013 IIS features via PowerShell

Based on my experiance with installing Lync 2013 you have to select a whole lot of features in IIS. I rarely like to just select all features in IIS as this is prone to making your server less secure. So I used this script; $features = (‘Web-Default-Doc’, ‘Web-Dir-Browsing’, ‘Web-Http-Errors’, ‘Web-Static-Content’, ‘Web-Http-Logging’, ‘Web-Log-Libraries’, ‘Web-Http-Tracing’, ‘Web-Stat-Compression’, ‘Web-Dyn-Compression’, […]

Migration from Exchange 2010 to 2013

Running migrations of Exchange is always a slow process, especially if you run into problems or hickups along the way. I’ve done my fare share of migrations and know a few basics to being with outright; Always migrate to a different server. Never do an inplace upgrade. I don’t even know if this is possible […]

Installing ForeFront 2010 on Windows 8 or Server 2012

After my earlier post on ForeFront EndPoint Protection I managed to get several updates from Microsoft to allow it to function but this left me without a working installer for new systems. After ready the patch notes on the hotfixes I found the update responsible for the client ( FEP2010-Update-Rollup-KB2551095-x64-ENU.exe) and managed to find the installer […]