Automated Dynatrace API data dumps from PowerShell

There are many ways to do this. I wrote this in Python and now PowerShell. The original was a bat file. PowerShell is easier to work with than bat/cmd f since they can be touchy with quoted strings and html encoding. This PowerShell gets the job done for both v1 and v2 and has a […]

Restful Server In PowerShell

I know I have been focused on PowerShell but I have down time and wanted to play since our shop seems to love it so much. I think I am going to do some other posts, maybe Node or something, because PowerShell is boring. I am building a dashboard so I was playing with PowerShell […]

Classes in PowerShell

I’ve noticed that a lot of admins learning PowerShell tend to use global variables and pass things around to functions, if they use functions at all. Sometimes all you need are classes to make things cleaner and easier to manage. Classes can be intimidating to newer developers or folks who only write occasionally for admin […]

Simple PowerShell module to store passwords.

If you have PowerShell scripts with passwords hard-coded you don’t want to risk someone accidentally exposing the script with passwords available. I wrote a simple password vault module to keep passwords outside the scripts. It stores them as files so you will need a secure share or folder to store them. I have a Python […]

Coin flip in PowerShell, GUI version.

Need to make a decision, like to bet, maybe you just like silly apps? Whatever the reason you’re reading this I hope it helps someone to learn some simple GUI tricks in PowerShell. I didn’t spend a lot of time on this. I already wrote one in C# years ago and had some downtime so […]

Get moon phase in Vala and PowerShell.

I’m working on a project in Vala that requires the moon phase. I’ve done this before in Python myself but wanted to look around for better. I found a nice Python script that just works so I decided to use it in Vala. Again, I’m learning PowerShell so why not convert to that as well? […]

Video Poker in PowerShell

In between real work, and to learn a bit about PowerShell since I don’t use it often, I created a video poker game. It’s rough and I don’t have time to make it pretty or add a GUI, but maybe it will inspire someone else? I also know very little about poker… I took a […]