
Anthony Howell
Cloud Platform Architect, Evolent Health
Eugene, Oregon, United States
Actions
I'm a proud father and a lucky husband who presses buttons on my keyboard in just the right way to enchant the cloud into doing magical things in exchange for a consistent paycheck.
Links
Making Kubectl PowerShell friendly (no Crescendo, no JSON)
Kubectl is the purpose written tool for managing Kubernetes clusters. Thankfully Kubectl has an autocompletion script for PowerShell, but beyond that, it doesn't integrate well with PowerShell. In fact, the recommended way to integrate with PowerShell's pipeline is to write a long statement that ends with ConvertFrom-Json.
There are several solutions to this problem, most notably you could use Crescendo. However, using Crescendo creates a PowerShell module that creates unique commands and doesn't give you skills in Kubectl, the tool being wrapped.
In this session, I want to introduce you to my solution to this problem. A way that you can both make Kubectl generate objects that can be sent down the pipeline and keep you up to speed on how Kubectl functions so you are able to use Kubectl effectively even in a bash shell.
After we cover my opinions on why this solution is relevant, we'll walk through all of the technical details of how. This includes the specifics of generating PowerShell formats on the fly and an elegant way of parsing Kubectl output without losing data or adding noticeable lag.
To wrap up, we'll take a look at a few examples of filtering left with Kubectl to really drive home the power of Kubectl and encourage you to avoid Where-Object where possible.
Building a serverless Discord bot in PowerShell and Azure Functions
Discord may not be used as much in corporate communications as Teams or Slack, but when it comes to automating it with a bot, you can certainly do so with PowerShell.
If you hear 'chat bot' and 'PowerShell', you're probably thinking PoshBot, which is great, but I don't like the requirement of running a service for my bot to work. I like to save some money and run it in an Azure Function, which is possible using Discord's slash commands. In fact, my bot costs me just a few cents a month to run.
In this session, we'll walk through the serverless, slash-command based bot architecture so we fully understand the requirements. Then we'll dive right into how to create commands in your Discord server leveraging the Discord API (and my Discord PowerShell module) and then pairing those commands with matching calls in your Azure Function.

Anthony Howell
Cloud Platform Architect, Evolent Health
Eugene, Oregon, United States
Links
Actions
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top