Create dynamic PowerShell functions with Parameter Sets
While developing a PowerShell function to query the API of the webcomic XKCD I decided to explore and implement Parameter Sets. These allow you to provide your users with different sets of parameters based on different use cases (assuming you have multiple use cases), which as a result provides a…
Powershell Slack Bot using the Real Time Messaging API
This post details how PowerShell can be used to run a custom Slack Bot that utilises the Slack RTM (Real Time Messaging) API. Following on from my previous post where I set up a Slack Slash Command using Azure Functions, I wanted to provide more functionality to my team via…
A Slack Slash Command using Powershell Azure Functions
In my previous post I talked about creating a Powershell function to lookup terms in a large internal glossary I had collated. This post takes this a step further and creates a custom slash command integration in a Slack chatroom that calls out to a Powershell-based Azure Function to query…
A Powershell cmdlet for looking up internal terms in a glossary
I've recently started a new role and as a result I have a lot of new business terms and acronyms to get to grips with. A list of about 50 of these were handed to me on my first day which was really helpful, but when I searched around the…
Operational Testing for Antivirus: Validating Symantec Endpoint Protection with Pester
This post contains an operational validation test for Symantec Endpoint Protection (SEP) using the Pester testing framework module with Powershell. It performs a few basic checks to ensure SEP is running and healthy. It is intended as a starting point and could be developed further. Your individual requirements will likely…