My Profile Photo

duffney.io


DevOps Engineer | Pluralsight Author | Speaker | Blogger | PowerShell Advocate


  1. Using Line Breakpoints in VScode to Debug PowerShell

    Write-Host messages are not the only way to debug PowerShell code. In this blog post you’ll learn how to use the debugger in Visual Studio Code to set line breakpoints. Line breakpoints allows you to pause the code’s execution on a specific line. Which makes debugging much easier. I will also show you how to manage breakpoints. You’ll learn how to enable, disable, and remove breakpoints. By the end of this blog post you’ll be...…


  2. Detaching from Distraction

    As I transitioned from the reactive firefighting of traditional IT to the more thoughtful world of DevOps, my work became more and more cognitively demanding. As a result, I quickly got burnt out and my ‘outside of work’ activities suffered. I simply had nothing left to give, which prevented me from being the husband, father, and friend I wanted to be. Not to mention the extra workload I put on myself when authoring a course,...…


  3. PowerShell Story Continued Becoming a Craftsman

    My journey started off by figuring out how to automate a daily disk space report on the mailserver, which ran most of the company, and emailing the report to my boss at the time. After PowerShell sent that first email, something clicked. I sat back in my chair and thought to myself, “Wow, I don’t have to do this anymore”. I can still feel how exciting and relieving that thought was. Fast forward a few...…


  4. Setting up Windows for Docker Container Development

    Containers are here! and if you haven’t already used them I highly recommend you start even if it’s for lab only environments. I say this for a few reasons the most important being it will advance your career. Containers are going to be the way forward if that isn’t clear enough from all the buzz going around for the past few years. Another equality good reason you should start messing around with them is it’s...…


  5. Using Desired State Configuration (DSC) Composite Resources

    Table of Contents Table of Contents Understanding Composite Resources DSC Without a Composite Resource Creating Composite Resources Using Composite Resources Adding Properties to a Composite Resource Summary Composite resources can be thought of as help functions, but instead of helper functions for your PowerShell scripts it’s a helper resource for your DSC configurations. They help solve the same problem helper functions do by modularizing your code. Which reduces the length and complexity of your code....…