Member-only story

Microsoft.PowerShell.PlatyPS: Mastering PowerShell Documentation with PlatyPS

Gijs Reijn
5 min readNov 4, 2024

--

Microsoft.PowerShell.PlatyPS is fully rewritten in .NET. Who would have guessed it?

I made that observation back in May 2024. The PowerShell team was quietly making code changes to the platyPS repository. While the original name is still alive, the assumption it would get a new name was correct.

Now, I don’t have to tell you that documenting your PowerShell modules is important. That point has been made clear since the beginning of the PowerShell module development.

Instead, this article provides step-by-step guidance on using the module's new commands. You will learn how to:

  • Get started with Microsoft.PowerShell.PlatyPS
  • Create your first documentation
  • Generate Microsoft Assistance Markup Language (MAML)
  • Update documentation
  • Tips and tricks

Before diving right into it, let’s take a look at the prerequisites.

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

Prerequisites

To work with the Microsoft.PowerShell.PlatyPS module, you can easily install it through the PowerShell Gallery:

# PowerShell 7.2+
Install-PSResource -Name Microsoft.PowerShell.PlatyPS -Prerelease

# Windows PowerShell 5.1
Install-Module -Name Microsoft.PowerShell.PlatyPS -AllowPrerelease

--

--

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