Building a new PowerShell module from scratch

Building a new PowerShell module from scratch

Use tools like PSModuleDevelopment and Telemetryhelper to quickly create a PowerShell module which has build in tests, CI/CD and Telemetry. Read on how I created a module to query Google Maps, Bing Maps and Open Street Maps which stores telemetry in Azure Application Insights. Get your PowerShell module in the PowerShellGallery (PSGallery) in a couple of hours!

Read More

Automatically create an azure authorization matrix

Automatically create an azure authorization matrix

Maintaining who has permission to which part of Azure is an ongoing battle for OPS teams. Especially in environments where permissions change a lot. In this blogpost I will show a new powershell module and how you can use it to automate the creation of a authorization matrix.

Read More

Automatic PAT renewal for Azure DevOps

Automatic PAT renewal for Azure DevOps

When using Azure DevOps there are situations where you need to use Personal Access Tokens (PAT). For example when interacting with the azure devops REST api to for example add comments to a work items from a schedules job on a VM.
Because we want PAT’s with a short lifetime incase they get leaked we need a system to renew them periodically. Since last year this can be done with a newly introduced API. In this post I will explain how to use this API.

Read More

Automatically tag azure vm's behind a load balancer

Automatically tag azure vm's behind a load balancer

When managing virtual machines in Azure it’s often useful to tag these machines based on certain criteria. These tags can be used to filter the virtual machines for certain services. To make sure that virtual machines will always have the right tags we can use Azure Policies. In this blog post I will describe how you can make an Azure Policy which automatically tags virtual machines behind a load balancer or application gateway.

Read More

Test Powershell code quality automatically

Test Powershell code quality automatically

Do you recognize the situation where a new team member joins the team and writes a script. During the pull request you notice they don’t follow the coding standards you where following and you have to make a lot of comments to explain all the different standards you are using?

Read More