Member-only story
How I Transformed Over 700+ Help Files With Ease using Microsoft.PowerShell.PlatyPS
Not a member? Check it out for free on this link.
I felt generous and a bit shy on the other side.
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
- PowerShell 7.0 or above
- Git CLI
- Microsoft.PowerShell.PlatyPS 1.0.0-preview1