PowerShell Script Publishing Best Practices

Creating Modules

#TO-DO:

Documenting

PowerShell style guide

Linting

In VS Code:

{
    "powershell.codeFormatting.preset": "OTBS",
    "editor.formatOnSave": true
}

Versioning

Changelog

Licensing

Choose a License

Putting it together

Think of using a scaffolding tool such as Plaster… available here …which is now undergoing changes to make it up-to-date with PowerShell 7 Good guides on how to use it:

back to top