Introduction to Chef + DSC

Over the last year I have really started playing with Desired State Configuration. This is another player in the increasingly crowded 'Infrastructure as Code' market. Other major players being Ansible, Salt, Chef, and Puppet, to name a few. I remember when I was researching some of the different available tools I ended up searching for … Continue reading Introduction to Chef + DSC

Testing Infrastructure with Pester

This post is about using Pester for infrastructure validation (Skype for Business is used for the example infrastructure). So what is Pester? They describe it very well on their wiki:  "Pester provides a framework for running Unit Tests to execute and validate PowerShell commands. Pester follows a file naming convention for naming tests to be … Continue reading Testing Infrastructure with Pester

Exploring the Powershell Alternative to netstat

This post is going to be a very quick rundown of Get-NetTCPConnection, the Powershell cmdlet that serves as a powerful alternative to netstat. Note: In any comparisons I make between netstat and Get-NetTCPConnection, I am referring to the Windows implementation of netstat. Why you might want to use Get-NetTCPConnection Easier to get targetted information by … Continue reading Exploring the Powershell Alternative to netstat

Bulk Remove User(s) from Response Group(s) with Powershell

Removing users from Response Groups can get tedious using the SfB or Lync Control Panel. It's also a bit tedious to use the builtin 'Cs' Powershell commands. I made a short script which which takes any number of users and removes them from any number of groups. If you want to skip this post and just get … Continue reading Bulk Remove User(s) from Response Group(s) with Powershell

Automatically Updating the Edge Public IP in the Topology (home lab)

Having a fully functional Skype for Business home lab is tough. One of the difficulties is labbing an Edge server due to the certificate and public IP requirements. Most people end up skipping the Edge role altogether in their labs, but those who don't skip it end up needing to pay for at least one … Continue reading Automatically Updating the Edge Public IP in the Topology (home lab)

Skype for Business Server and PowerShell Remoting

This post will show how to get PowerShell remoting to work properly with Lync/Skype for Business Server. Since Windows Server 2012 enables PS remoting by default, you don't need to do anything special to run normal commands like Get-Service, Get-Process, etc... However, when trying to run many specific Skype for Business cmdlets, you may run into … Continue reading Skype for Business Server and PowerShell Remoting