How To Use Tags In A Pester Test

There are a lot of ways to run Pester tests but it can sometimes get out of hand if you’ve got a lot of them. In this snip, Bill will cover how to use tags in Pester and how they can be used as an organizational means to efficiently call the right tests when you need them. You’ll see how to use not one, but multiple tags to call out specific Scopes. As an added bonus, the demo file shows you how easy it is to perform basic IT infrastructure tests!

Prerequisites include: - Windows PowerShell 5.1 or PowerShell 6.1.x - Latest Pester module (4.8.1) - Visual Studio Code with PowerShell extension (optional) - Be somewhat familiar with Pester’s syntax