Skip to main content

How to Write PowerShell (Like a Ninja)

· 2 min read

Thanks to Jonathan Crowe, the Director of Community at NinjaOne, for inviting me to be a part of one of the Like a Ninja streams that they host on the NinjaOne YouTube channel every couple of weeks. This stream was on February 28th, 2024 and was a conversation with that Jonathan hosted to let me demonstrate how to write PowerShell scripts using an existing script I've published as an example to walk through.

The video is about an hour long. Here it is, following the official stream description:

Join NinjaOne star David Szpunar as we go over how to write PowerShell scripts like a ninja!

The video is somewhat fast-paced and does assume some beginner knowledge of PowerShell, focusing on the structure of building the structure of a script into a usable whole with various parameters and functions.

Setting Up VS Code and Git Like a Ninja

If you enjoyed that video, a month later on March 26th, 2024, NinjaOne community member and PowerShell programmer extraordinaire Mikey O'Toole led a follow-up video stream called How to set up VS Code and Git Repo Like a Ninja that helps get you further down the programming rabbit hole with information on how to set up an environment more conducive to writing and debugging PowerShell on your own machine, as well as tracking changes and sharing code using Git and a centralized source such as GitHub or one of the alternative services.