Source Contributing Guide


How to contribute to this module

Did you find a bug?

  • Ensure the bug was not already reported by searching on GitHub under Issues.

  • If you’re unable to find an open issue addressing the problem, open a new one. Be sure to include a title and clear description, as much relevant information as possible, and a code sample or an executable test case demonstrating the expected behavior that is not occurring.

Did you write a patch that fixes a bug?

  • Open a new GitHub pull request (PR) with the patch.

  • Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.

Do you intend to add a new feature or change an existing one?

  • Suggest your change by creating a GitHub issue tagged with “Enhancement”

  • Create a branch and start working on your new feature, following feedback from the community.

  • Once the new feature is ready, submit a pull request. If the feature is accepted and has passed all CI testing, the pull request will be approved.

Thanks! :heart:

Building & testing

  1. Install the latest prerequisites: .\build\Install-Prerequisites.ps1
  2. Build the module: .\build\Invoke-ModuleBuild.ps1
  3. Run the tests against the source & built module (Pester):
    • .\build\Invoke-PesterTests.ps1 -ExcludeTag Online
    • .\build\Invoke-PesterTests.ps1 -BuildTarget built -ExcludeTag Online
  4. Update the documentation after changing or adding a function (add new functions to docs\functions.csv): .\build\Invoke-HelpContent.ps1

Every function must work in Windows PowerShell 5.1 and PowerShell 7+ on Windows, Linux, & macOS. All parameters & variables use PascalCase, new functions are added to the FunctionsToExport list of the module manifest.


Based off of the Ruby on Rails project contribution guide.