Josh Hendricks
Blogs, Articles, and Posts
Debugging ConvertTo-Json
(joshooaj.com)
My co-worker, Jared, who regularly uses MilestonePSTools and builds tools with it brought me an
By: Josh Hendricks submitted:Sep 8 2023
My co-worker, Jared, who regularly uses MilestonePSTools and builds tools with it brought me an
interesting problem yesterday - an apparent compatibility issue between our SDK and the ConvertTo-Json cmdlet from the built-in Microsoft.PowerShell.Utility module.
By: Josh Hendricks submitted:Sep 8 2023
Projects, Scripts, and Modules
Generate markdown tables from PowerShell – JoshooaJ
(joshooaj.com)
I had a need to generate a markdown table dynamically from PowerShell, so I wrote a flexible
By: Josh Hendricks submitted:Oct 6 2023
I had a need to generate a markdown table dynamically from PowerShell, so I wrote a flexible
function which uses the properties on the incoming objects to define the column names, supports the definition of maximum column widths, and outputs either pretty-printed markdown with padded values and aligned columns, or "compressed" markdown without the unnecessary padding included.
By: Josh Hendricks submitted:Oct 6 2023
New-VmsAzureAppRegistration.ps1
(gist.github.com)
Setting up single sign-on in the Milestone VMS using Azure AD can be a bit daunting for anyone
By: Josh Hendricks submitted:Aug 25 2023
Setting up single sign-on in the Milestone VMS using Azure AD can be a bit daunting for anyone
without experience configuring OpenID Connect (OIDC) apps. I finally got around to documenting it via PowerShell. The script will create an Azure App Registration, a custom app role, and then configure Milestone to use Azure as an external identity provider.
By: Josh Hendricks submitted:Aug 25 2023
Parse Code from Markdown Files
(joshooaj.com)
Are you testing your documentation? If you write PowerShell scripts or modules, you are hopefully
By: Josh Hendricks submitted:Oct 13 2023
Are you testing your documentation? If you write PowerShell scripts or modules, you are hopefully
using Pester to test your code. And if you use PlatyPS to generate markdown documentation like I do, then you have a bunch of example PowerShell code sitting in .md files. But what happens if you rename a command, a parameter, or make some other kind of breaking change?
By: Josh Hendricks submitted:Oct 13 2023
Poshover
(github.com)
A PowerShell module for sending notifications / messages using the Pushover API
By: Josh Hendricks submitted:Jun 16 2022
A PowerShell module for sending notifications / messages using the Pushover API
By: Josh Hendricks submitted:Jun 16 2022
Fun
GitHub – joshooaj/PSSoundBoard
(github.com)
A couple years ago I wrote a music/sound effects module while helping with a #powershell minesweeper
By: Josh Hendricks submitted:Feb 17 2023
A couple years ago I wrote a music/sound effects module while helping with a #powershell minesweeper
clone. It made it easy to play/pause music and play explosions and triumph sounds over the music without interrupting or clipping.It serves absolutely no purpose in my day to day, but it's a fun little project and sometimes it's the side quests that feed your soul. If you have any desire to work with sound asynchronously in PowerShell, here it is
By: Josh Hendricks submitted:Feb 17 2023