PSConfEU 2023
Test Your Code Quality with Pester and PSScriptAnalyzer
When writing PowerShell code it’s easy to make small mistakes. For example, renaming a variable but forgetting one occurrence, or using an unapproved verb in a function name. To combat these errors there is a tool called PSScriptAnalyzer which can do a lot of the code quality checks for you. But in the day and age of collaboration and continuous deployment it’s not good enough anymore to just run this utility separate. In this talk Leo Visser will show you how you can use the testing framework Pester to have these code quality checks be integrated in your tests. Besides the basics the talk will also cover how to exempt some files from some rules and how to manage this.
Run PowerShell with Azure deployment scripts
Have you ever tried to create a schedule with a Bicep Template and received an error because the start date was in the past? Or did you ever run into the issue it would have been nice to add a delay to some parts of your deployment? These problems can be solved with parameters or splitting up your deployment into different steps, but sometimes we want everything to be in one template for easy sharing or usage in bigger deployments. For these scenarios we can use Azure deployment scripts. This allows you to run pieces of code during your deployment. Join me in this talk as I demonstrate how to run PowerShell code during a resource deployment to calculate necessary values and add delays. After this talk a whole new world of options will open up to you when looking at resource deployments in Azure!
More info here
Lecture about Automation - Sticky (student organization)
Shift-Left by using Automation
During this talk Leo Visser will share his experience in using automation to shift left tasks done in an IT environment. Many organizations want to automate everything but when making plans often things get to big very quickly and before you know it there is a project doomed to fail from the start. During this talk Leo will explain how OGD managed to automate a lot of very common tedious jobs for the Red Cross without this becoming a project to big to manage. By using techniques from Agile and DevOps and good architectural practices the project was streamline and transformed to a continues optimization cycle which still works now. This talk will show these techniques and gives you tools to improve your own workflows no matter if they are big or small.
CollabDays Netherlands 2023
Enhance your IAM by looking at Identity through a wider lens
When talking about identity in a IT context people often think about their username and password. More security focused people might consider other ways of authentication to be included with this. But what about the card you use to access the building? Or the contracts you sign? Aren’t those also linked to your Identity? Using data from multiple systems via linkage can enhance your identity and access management (IAM). At the same time you can use this information to automate some of the more boring work in IAM. During this talk I will go over some situations I’ve encountered when working with Identity and how more value was created by linking the different systems together. If you want to learn how to get started with enhancing your identity join me in this talk!
More info here
Microsoft & Security NL meetup - Improve security with your own PSGallery
Did you ever make a typo when importing a PowerShell module? What if an attacker uploaded a module with that name to the PSGallery? Maybe you are using a malicious version of the Connect-AzAccount cmdlet without knowing it. To increase the security of your development environment you can create an internal artifact feed with Azure DevOps. There you can easily mirror packages from the PSGallery in a controlled manner. You can even make sure only specific versions are allowed. This would allow you to test a version before allowing it into the production environment. In this talk you will learn how to set up such a gallery and how to use it in PowerShell. You will also learn how to use this gallery to host PowerShell modules internally. So join the talk and learn how to protect your code supply chain!
More information
Azure Thursday - Level up your Azure DevOps pipelines
Pipelines are awesome for automating everything, it doesn’t matter if you are deploying something or just want some recurring tasks to be performed. But did you know that your pipelines could be a lot better? In this talk we’ll look at Azure DevOps YAML pipelines and all the wonderful features available to us. I'll share my tips and tricks for working with these amazing pipelines. We'll start by looking at implementing rollback scenario’s and how to make parts of your pipeline reusable in other pipelines. We will also look at speeding up the pipeline by running parts in parallel. There will definitely be something new to help you improve your pipelines. So, join me and level up your pipelines too!
More Info