Posts regarding PowerShell topics
The Microsoft Teams admin center is a vast improvement over its Skype for Business Online predecessor. It is responsive and has a modern interface. However, the admin center does not show every Microsoft Teams policy…
Git is a great source control option for developers and systems administrators alike. One of the key features is the ability to revert a commit when working with your code. This post walks you through…
Assigning a PowerShell variable the same value as another PowerShell variable is pretty straight forward. You set the variable equal to the other variable name. However, copying PowerShell hashtables is not as straight forward. If…
A neat but often unknown feature is the PowerShell dynamic parameter. These are no ordinary parameters as dynamic parameters only exist when certain conditions are met. Imagine the possibilities! In this post, you will learn…
PowerShell parameter sets are a great tool to have in your function writing arsenal. With PowerShell parameter sets, you can create a function that has different parameters for multiple scenarios. The user can specify different…
The Microsoft Teams admin center is a fine way to manage your enterprise voice deployment. You can assign phone numbers, set emergency locations, or view unassigned numbers. However, there is not an easy way to…
PowerShell is a powerful tool for automation, and many of Office 365's features can only be configured in PowerShell. In this article, you will learn how to connect to the various services within Office 365…
The latest preview version of the Microsoft Teams PowerShell module includes functionality to connect to Skype for Business Online.
Should is a command that performs our tests or assertions in our script. It is used for comparing objects and throwing failures when the test is expected to fail. We use Should inside of It blocks in the test script. Should also has different operators for performing tests.
Pester is a framework designed for validating and testing your PowerShell commands, whether they are in functions, cmdlets, modules, or scripts. You write your tests to make sure your PowerShell code does what it is supposed to, or use it to validate changes made to an existing script.