Skip to content
@PSModule

PSModule

A GitHub and PowerShell development framework

A GitHub & PowerShell development framework

We empower PowerShell-savvy developers to effortlessly transform their ideas into impactful solutions. Our approach centers around a development framework that allows developers to focus on delivering value through their code. By leveraging the GitHub platform and PowerShell, we aim to automate the repetitive tasks, enabling developers — whether as consumers or contributors — to concentrate on coding without distractions.

Supported Platforms

This development framework is built to serve the needs of modern developers and environments. We prioritize supporting the latest Long-Term Servicing (LTS) version of PowerShell to ensure that we can leverage the most recent features and capabilities, keeping our framework aligned with the demands of today’s development landscape. We assume most of the users of this framework work on modern platforms and have access to the latest versions of PowerShell or seek to use it to develop solutions intended to run on modern systems, like GitHub Actions, Azure Functions on a developer machine.

The Trade-Off: Not Supporting Windows PowerShell

We’ve made a deliberate choice not to actively persure to support the older Windows PowerShell (5.1) version, as it limits our ability to use the newest PowerShell features. Where its low effort to support Windows PowerShell, we will do so, but we will not actively develop modules for it. While we recognize that some users may still rely on Windows PowerShell 5.1, they can run tools developed in this framework by installing PowerShell 7 alongside it or on remote systems. This decision ensures that this framework can focus on delivering new features for modern development without being constrained by legacy technology, which would otherwize require significant effort to develop and maintain, even if it is available in the newer versions of PowerShell.

Products and projects we focus on

Our framework is dedicated to advancing the tools and processes that empower modern development and operations teams, with a specific focus on GitHub as our primary toolstack. We concentrate on the following key areas:

  • PowerShell modules
  • GitHub Actions and Workflows
  • Serverless applications using Function Apps in Azure

PowerShell modules

About

A PowerShell module is a set of functions, scripts, and cmdlets that are bundled together in a single package. Modules are used to organize and distribute code in a way that is easy to use and share. They can be used to extend the functionality of PowerShell, automate tasks, and create reusable code that can be shared with others. We have created a framework that automates the process of creating, testing, and publishing PowerShell modules to the PowerShell Gallery. This framework is designed to make it easy for developers to create and share their PowerShell modules with the community.

How we do it in PSModule

Projects based on the Template-PSModule repository template will automatically have the necessary workflows and configurations set up to automate the process of creating, testing, and publishing PowerShell modules to the PowerShell Gallery. This includes workflows for building, testing, and releasing the module, as well as a configuration file for setting up the module's metadata and dependencies. Using custom properties we set RepoType to Module. We use branch policies to control the flow of changes to the main branch, and we use labels to control the versioning of the module when a pull request is merged.

Create a new project
  1. Create a repository based on the template Template-PSModule. The module will by default use the name of the repository. See Process-PSModule for more info on choosing another name than the repository name.
  2. Create a repository or organization secret called APIKEY holding the API key for the PowerShell Gallery.
  3. Configure the settings you want for the repository including a branch policy for the main branch.
  4. On a topic branch:
    1. develop the code you want to add to your module.
    2. delete the parts you do not need.
    3. update the tests in the tests folder.
  5. Create a PR. Add a label to the PR depending on what you want to do.
    • Major - Will create a major release (vX.0.0) when merged. If specified with "Prerelease", a major version will be created using the prerelease tag (vX.0.0-<branchName>).
    • Minor - Will create a minor release (vX.Y.0) when merged. If specified with "Prerelease", a minor version will be created using the prerelease tag (vX.Y.0-<branchName>).
    • Patch - Will create a minor release (vX.Y.Z) when merged. If specified with "Prerelease", a minor version will be created using the prerelease tag (vX.Y.Z-<branchName>). A patch version bump is the default if nothing is specified for the PR.
    • Prerelease - CI will create a prerelease of the module using the branch name as a prerelease tag in the version. This will create both a repository release and a prerelease version of the module on the PowerShell Gallery.
  6. Once the PR is created, the Process-PSModule workflow will trigger.
  7. When the PR is merged, a release will be created and the module will be published to the PowerShell Gallery with a stable version based on the version bump indicator the PR was was labeled with. Prerelease tags will be cleaned up on the repository.
Modules delivered on the PowerShell Gallery
Name Description Version
Admin A PowerShell module working with the admin role.
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks PowerShell Gallery Downloads
GitHub release (with filter) PowerShell Gallery Version
AST A PowerShell module for using the Abstract Syntax Tree (AST) to analyze any PowerShell code.
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks PowerShell Gallery Downloads
GitHub release (with filter) PowerShell Gallery Version
AzureDevOps A PowerShell module to interact with the Azure DevOps REST API.
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks PowerShell Gallery Downloads
GitHub release (with filter) PowerShell Gallery Version
DynamicParams A PowerShell module that makes it easier to use dynamic params.
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks PowerShell Gallery Downloads
GitHub release (with filter) PowerShell Gallery Version
Fonts A PowerShell module for managing fonts.
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks PowerShell Gallery Downloads
GitHub release (with filter) PowerShell Gallery Version
GitHub A PowerShell module to interact with the GitHub API.
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks PowerShell Gallery Downloads
GitHub release (with filter) PowerShell Gallery Version
GoogleFonts A PowerShell module to download and install fonts from GoogleFonts.
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks PowerShell Gallery Downloads
GitHub release (with filter) PowerShell Gallery Version
GraphQL A PowerShell module to simplify working with a GraphQL APIs.
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks PowerShell Gallery Downloads
GitHub release (with filter) PowerShell Gallery Version
IPv4 A PowerShell module for managing IPv4 data
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks PowerShell Gallery Downloads
GitHub release (with filter) PowerShell Gallery Version
NerdFonts A PowerShell module to download and install fonts from NerdFonts.
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks PowerShell Gallery Downloads
GitHub release (with filter) PowerShell Gallery Version
OpenAI A PowerShell module for interacting with OpenAI
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks PowerShell Gallery Downloads
GitHub release (with filter) PowerShell Gallery Version
PATH A PowerShell module to manage the PATH environment variable on Windows.
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks PowerShell Gallery Downloads
GitHub release (with filter) PowerShell Gallery Version
PowerShellGallery A PowerShell module for interacting with the PowerShell Gallery.
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks PowerShell Gallery Downloads
GitHub release (with filter) PowerShell Gallery Version
PSSemVer A PowerShell module adding a SemVer compatible class and functions.
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks PowerShell Gallery Downloads
GitHub release (with filter) PowerShell Gallery Version
PublicIP A PowerShell module that helps getting info about your public IP.
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks PowerShell Gallery Downloads
GitHub release (with filter) PowerShell Gallery Version
Retry A PowerShell module to create a retry mechanism around functions
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks PowerShell Gallery Downloads
GitHub release (with filter) PowerShell Gallery Version
Sodium A PowerShell module for handling Sodium encrypted secrets.
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks PowerShell Gallery Downloads
GitHub release (with filter) PowerShell Gallery Version
Store A PowerShell module that manages a store of secrets and variables.
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks PowerShell Gallery Downloads
GitHub release (with filter) PowerShell Gallery Version
Utilities A PowerShell module with a collection of functions that should have been in PowerShell to start with.
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks PowerShell Gallery Downloads
GitHub release (with filter) PowerShell Gallery Version
WoW A PowerShell module containing utilities for World of Warcraft.
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks PowerShell Gallery Downloads
GitHub release (with filter) PowerShell Gallery Version

PowerShell based Azure Function Apps

About

A PowerShell based Azure Function App is a serverless compute service that enables you to run event-driven code without having to manage the infrastructure. Azure Functions are ideal for processing data, integrating systems, and building simple APIs or microservices. They can be triggered by a variety of events, such as HTTP requests, timers, or messages from Azure services like Azure Storage, Event Grid, or Service Bus. We have created a framework that automates the process of creating, testing, and deploying PowerShell based Azure Function Apps to Azure. This framework is designed to make it easy for developers to create and deploy their Azure Function Apps without having to worry about the underlying infrastructure.

How we do it in PSModule

Projects based on the Template-FunctionApp repository template will automatically have the necessary workflows and configurations set up to automate the process of creating, testing, and deploying PowerShell based Azure Function Apps to Azure. This includes workflows for building, testing, and deploying the function app, as well as a configuration file for setting up the function app's metadata and dependencies. Using custom properties we set RepoType to FunctionApp. We use branch policies to control the flow of changes to the main branch, and we use labels to control the versioning of the module when a pull request is merged.

Create a new project
  1. Create a repository based on the template Template-FunctionApp. The module will by default use the name of the repository.
  2. Create a repository or organization secret called AZURE_CREDENTIALS, holding the credentials for the Azure service principal.
  3. Configure the settings you want for the repository including a branch policy for the main branch.
  4. On a topic branch:
    1. develop the code you want to add to your function app.
    2. delete the parts you do not need.
    3. update the tests in the tests folder.
  5. Create a PR. Add a label to the PR depending on what you want to do.
    • Major - Will create a major release (vX.0.0) when merged. If specified with "Prerelease", a major version will be created using the prerelease tag (vX.0.0-<branchName>).
    • Minor - Will create a minor release (vX.Y.0) when merged. If specified with "Prerelease", a minor version will be created using the prerelease tag (vX.Y.0-<branchName>).
    • Patch - Will create a minor release (vX.Y.Z) when merged. If specified with "Prerelease", a minor version will be created using the prerelease tag (vX.Y.Z-<branchName>). A patch version bump is the default if nothing is specified for the PR.
    • Prerelease - CI will create a prerelease of the module using the branch name as a prerelease tag in the version. This will create both a repository release and a prerelease version of the module on the PowerShell Gallery.
  6. Once the PR is created, the Process-FunctionApp workflow will trigger.
  7. When the PR is merged, a release will be created and the function app will be deployed to Azure with a stable version based on the version bump indicator the PR was was labeled with. Prerelease tags will be cleaned up on the repository.
Function Apps we maintain
Name Description Version
GitHubApp A GitHub app running on Azure Function App
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks
GitHub release (with filter)

PowerShell based GitHub Actions (composite action)

About

A composite action is a reusable action that is made up of one or more steps. Composite actions can be used to encapsulate common tasks or workflows that can be reused across multiple repositories. They are a great way to share code and best practices with the community, and they can help to streamline the development process by providing a consistent way to perform common tasks. We have created a framework that automates the process of creating, testing, and publishing PowerShell based GitHub Actions to the GitHub Marketplace. This framework is designed to make it easy for developers to create and share their GitHub Actions with the community.

How we do it in PSModule

Projects are based on the Template-Action repository template will automatically have the necessary workflows and configurations set up to automate the process of creating, testing, and deploying PowerShell based Azure Function Apps to Azure. This includes workflows for building, testing, and deploying the function app, as well as a configuration file for setting up the function app's metadata and dependencies. Using custom properties we set RepoType to FunctionApp. We use branch policies to control the flow of changes to the main branch, and we use labels to control the versioning of the module when a pull request is merged.

Create a new project
  1. Create a repository based on the template Template-Action.
GitHub Actions on the GitHub Marketplace
Name Description Version
Auto‑Configure Autmates the configuration of a GitHub repo
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks
GitHub release (with filter)
Auto‑Document Automatically creates documentation for actions and workflows
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks
GitHub release (with filter)
Auto‑Release Automatically creates releases based on pull requests and labels.
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks
GitHub release (with filter)
Build‑PSModule Action that is used to build a PowerShell module.
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks
GitHub release (with filter)
Debug Print info from the runner environment to logs
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks
GitHub release (with filter)
Download‑CIArtifact Downloads an artifact from a CI workflow
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks
GitHub release (with filter)
Get‑AppJWT A GitHub Action that gets a JWT for a GitHub App
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks
GitHub release (with filter)
Get‑IssueFormData Get the data from a issue that was generated based on a issue form
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks
GitHub release (with filter)
GitHub‑Script A GitHub Action used for running a PowerShell Script that uses the GitHub PowerShell module
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks
GitHub release (with filter)
Initialize‑PSModule An action that is used to prepare the runner for PSModule framework.
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks
GitHub release (with filter)
Publish‑PSModule Action that is used to publish a PowerShell module
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks
GitHub release (with filter)
Test‑PSModule Test PowerShell modules with Pester and PSScriptAnalyzer.
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks
GitHub release (with filter)

Reusable workflows

About

Reusable workflows are a way to define a workflow in one repository and use it in multiple repositories. They can be used to automate common tasks, such as building, testing, and deploying code, and they can help to streamline the development process by providing a consistent way to perform these tasks across multiple repositories. We have created a framework that automates the process of creating, testing, and deploying reusable workflows in a organization. This framework is designed to make it easy for developers to create and share their workflows with the community.

How we do it in PSModule

Projects are based on the Template-Workflow repository template will automatically have the necessary workflows and configurations set up to automate the process of creating, testing, and deploying reusable workflows in a organization. This includes workflows for building, testing, and deploying the workflows, as well as a configuration file for setting up the workflows metadata and dependencies. Using custom properties we set RepoType to Workflow. We use branch policies to control the flow of changes to the main branch, and we use labels to control the versioning of the module when a pull request is merged.

Create a new project
  1. Create a repository based on the template Template-Workflow.
Workflows we maintain
Name Description Version
Process‑PSModule Process a module from source code to published module.
GitHub Issues GitHub Pull Requests GitHub Stars GitHub Watchers GitHub Forks
GitHub release (with filter)

Popular repositories Loading

  1. GitHub GitHub Public

    A PowerShell module to interact with the GitHub API.

    PowerShell 11 3

  2. Fonts Fonts Public

    A PowerShell module for managing fonts.

    PowerShell 8

  3. Utilities Utilities Public

    A PowerShell module with a collection of functions that should have been in PowerShell to start with.

    PowerShell 7 1

  4. NerdFonts NerdFonts Public

    A PowerShell module to download and install fonts from NerdFonts.

    PowerShell 5 1

  5. Template-PSModule Template-PSModule Public template

    Template for a PowerShell module repo.

    PowerShell 4

  6. Process-PSModule Process-PSModule Public

    Process a module from source code to published module.

    PowerShell 4

Repositories

Showing 10 of 45 repositories
  • Store Public

    A PowerShell module that manages a store of secrets and variables.

    PSModule/Store’s past year of commit activity
    PowerShell 3 MIT 0 2 0 Updated Nov 7, 2024
  • GitHub Public

    A PowerShell module to interact with the GitHub API.

    PSModule/GitHub’s past year of commit activity
    PowerShell 11 MIT 3 18 2 Updated Nov 7, 2024
  • Process-PSModule Public

    Process a module from source code to published module.

    PSModule/Process-PSModule’s past year of commit activity
    PowerShell 4 MIT 0 7 0 Updated Nov 6, 2024
  • Get-AppJWT Public

    A GitHub Action that gets a JWT for a GitHub App

    PSModule/Get-AppJWT’s past year of commit activity
    PowerShell 0 MIT 0 0 0 Updated Nov 4, 2024
  • Template-PSModule Public template

    Template for a PowerShell module repo.

    PSModule/Template-PSModule’s past year of commit activity
    PowerShell 4 MIT 0 0 0 Updated Nov 3, 2024
  • Sodium Public

    A PowerShell module for handling Sodium encrypted secrets.

    PSModule/Sodium’s past year of commit activity
    PowerShell 0 MIT 0 0 0 Updated Nov 2, 2024
  • Retry Public

    A PowerShell module to create a retry mechanism around functions

    PSModule/Retry’s past year of commit activity
    PowerShell 0 MIT 0 1 0 Updated Nov 2, 2024
  • PublicIP Public

    A PowerShell module that helps getting info about your public IP.

    PSModule/PublicIP’s past year of commit activity
    PowerShell 0 MIT 0 0 0 Updated Nov 2, 2024
  • PSSemVer Public

    A PowerShell module adding a SemVer compatible class and functions.

    PSModule/PSSemVer’s past year of commit activity
    PowerShell 2 MIT 1 1 0 Updated Nov 2, 2024
  • PowerShellGallery Public

    A PowerShell module for interacting with the PowerShell Gallery.

    PSModule/PowerShellGallery’s past year of commit activity
    PowerShell 1 MIT 0 0 0 Updated Nov 2, 2024

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…