DEV Community

Kamil Pro
Kamil Pro

Posted on

Building PowerShell module on Azure DevOps pipeline - step by step guide

The World talks constantly about DevOps, CI/CI pipelines, automation - which great, but where to actually start? Especially when you've been writing PowerShell which is often used as automation language, but not actually as programming language?

In this video I'll show you how to create a build pipeline for PowerShell module, from scratch. We will start from creating a project, creating new Git repository, pushing code to repository to finally create a pipeline which takes care of building the module, versioning it and finally publishing. And I'll be writing all these steps in front of you.

If you've been writing PowerShell for some time and would like to get step closer to the DevOps world - this is great video for you! If on the other hand you've been using Azure Pipelines for other languages and need to quickly pick how to build PowerShell module, then later part of video might be useful, or even just just open repo git below, and just look at the yml file in there.

Repo with all the files I've been writing and using during the video

https://dev.azure.com/kprocyszyn/_git/About-PowerShell

Video where I go in more detail about using ModuleBuilder

https://youtu.be/lKO_LPMfV1Y

How to create PowerShell module and manifest

https://youtu.be/xPQq0ui8j78

Image of Datadog

Master Mobile Monitoring for iOS Apps

Monitor your app’s health with real-time insights into crash-free rates, start times, and more. Optimize performance and prevent user churn by addressing critical issues like app hangs, and ANRs. Learn how to keep your iOS app running smoothly across all devices by downloading this eBook.

Get The eBook

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay