Posts regarding PowerShell topics
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.
Last week, I covered Getting Started with Microsoft Teams and Graph API that highlights Graph API basics and creating an…
In a previous article, you learned how to create a prompt inside of PowerShell by recreating the action prompt for…
In this post, I'm going to demonstrate two ways to create prompts in PowerShell and how to take action on…
If you've written a module or script that you feel others could benefit from using, definitely check out publishing it…
With the announcement of PowerShell 7 Preview 5 being released yesterday, I decided I needed to download this preview version…
You have had it happen before. You run a PowerShell script, and suddenly the console is full of errors. Did…
A quick and easy way to automate something is to schedule a PowerShell script using Windows Task Scheduler. However, sometimes…
I'm not a developer, but I do enjoy programming and writing scripts. In an effort to be "more official", I've…