My Profile Photo

duffney.io


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


  1. How to Add Credential Parameters to PowerShell Functions

    In this blog post I’ll show you how to add credential parameters to PowerShell functions. But before I do that let’s first talk about why you’d want to add a credential parameter to your functions. The purpose of the credential parameter is to allow you to run the function and/or cmldet as a different user, some account other than the one currently running the PowerShell session. The most common use is to run the function...…


  2. Introduction to Regular Expression (Regex) Lab Setup

    I’m proud to announce my second Pluralsight course titled Introduction to Regular Expression (Regex) has been released! I’ll be honest, this wasn’t an easy topic to cover. Regular expression is considered difficult for a number of reasons, but I found the most challenging part to be a good reference. I put a lot of thought, time, and effort into the logical layout of the course, which I hope makes learning regular expression easier and more...…


  3. I'm Josh Duffney and This is How I Work

    Where are you located? Omaha, Nebraska What is/are your current gig(s)? DevOps Engineer at Paylocity 100% Remote! Pluralsight author Blogger duffney.io Omaha PowerShell User Group Co-Leader What’s one word to describe your work? Exciting What apps, software, or tools can’t you live without? PowerShell, Visual Studio Code, Slack, Cmder, Github, Twitter, and hummm PowerShell. What does your workspace look like? What’s a typical workweek look like? Morning A typical workweek for me starts at around...…


  4. Doubling My Salary a PowerShell Story

    I’ve seen tweets like this before and have even heard compelling stories about how a sys admin learned PowerShell and then got a 10% raise. Hearing stuff like this is always motivating to me, but it’s not only motivating it’s now a reality for me. The same day this tweet went out, I received an offer that has doubled my salary! Now, I’ll admit the offer didn’t double my current salary, but it has doubled...…


  5. A Practical Guide for Using Regex in PowerShell

    Introduction In this blog post you’ll learn severals ways to use regular expression from within PowerShell. You’ve most likely used some of these techniques before. Such as the -match operator or the select-string cmdlet, but probably weren’t aware you were using regular expression. This post will not teach you how to craft complex regular expressions. Instead it focuses on how to use them in PowerShell to find matches, replace text, and to split on matches....…