Member-only story

How I Transformed Over 700+ Help Files With Ease using Microsoft.PowerShell.PlatyPS

Gijs Reijn
7 min readNov 30, 2024

--

Not a member? Check it out for free on this link.

I felt generous and a bit shy on the other side.

Picture from wayhomestudio on Freepik

I wanted to include an exercise in my recently published book at LeanPub, and I needed a big fish for that —really, a big fish

Then I remembered from my earlier days a PowerShell module that was already pre-dominant back then. This was the Pnp.PowerShell module, which exposes a ton of cmdlets that can work with Microsoft Office 365 and many more.

The module contains nearly 750+ cmdlets, which should also contain 750+ Markdown help files. And it did. That's when the idea popped up to lend a helping hand to transform all the help files to the new schema version 2 Microsoft.PowerSHell.PlatyPS module expects.

In this blog post, I'll share with you the journey I went through step-by-step. You will need some prerequisites if you feel frisky and want to follow along.

Prerequisites

Step 1 — Inspecting help content

--

--

Gijs Reijn
Gijs Reijn

Written by Gijs Reijn

Sharing my experience through the IT world. Tutorials, guides, and opinions. Follow my newsletter at: http://eepurl.com/i1hSUw

No responses yet