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 [...]

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 [...]

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 [...]

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 [...]

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 [...]

Windows Subsystem for Linux (WSL) – Setup and Troubleshooting

The Windows 10 anniversary update added some new features to Windows 10, including the much anticipated (maybe just by me) Windows Subsystem for Linux, or as all of the announcement articles said, "BASH for Windows". This is how to get rolling with WSL and how to troubleshoot the two most common problems. Setup Once you get [...]