Use the new PowerShell cmdlet ConvertFrom-String to parse KLIST Kerberos...
Tired of hacking away at RegEx and string functions to parse text? This post is for you! ConvertFrom-String In yesterday’s post we reviewed a simple example of the new PowerShell 5.x Convert-String...
View ArticleGnarly Innards: How to live debug PowerShell DSC configurations without using...
The Problem Have you ever needed to debug a PowerShell Desired State Configuration that appeared to be hanging when it was applying? At that point it’s a little too late to run Enable-DscDebug. Here’s...
View ArticleHow to run a PowerShell script against multiple Active Directory domains with...
I was working with a customer recently who needed to execute the same script against servers in different Active Directory domains. They had administrative privileges in each domain, but each domain...
View Article2017 New Years PowerShell DevOps Study List
Microsoft: from “know-it-all” to “learn-it-all” In a recent interview Satya Nadella mentioned the learn-it-all mindset. This is certainly true in the world of PowerShell. We are so far beyond “just a...
View ArticlePro Tip: PowerShell DSC Events to Monitor
The Problem I need to monitor PowerShell DSC health on all of my nodes. But I do not want to wait for every possible event to happen in production to catch it and add it to my monitoring event list....
View ArticleCompare Group Policy (GPO) and PowerShell Desired State Configuration (DSC)
What is the difference between Group Policy (GPO) and PowerShell Desired State Configuration (DSC)? Why would I use one over the other? I hear these questions frequently. Today we are going to fully...
View ArticlePractical PowerShell Security: Enable Auditing and Logging with DSC
PowerShell Security Almost two years ago Lee Holmes released his famous PowerShell ♥ the Blue Team whitepaper. This is required reading for anyone who works with PowerShell at all in their job or who...
View ArticlePowerShell Remoting and Kerberos Double Hop: Old Problem – New Secure Solution
PowerShell and DevOps Global Summit 2017 This week I enjoyed presenting at the PowerShell and DevOps Global Summit 2017. If you have not attended, I highly encourage it. You will get to meet PowerShell...
View ArticleTop 10 PowerShell DSC Node Events to Monitor
In a previous blog post I demonstrated how to get a list of all possible PowerShell Desired State Configuration (DSC) events for monitoring. Admittedly, that was an overwhelming list. Today I want to...
View ArticleGetting Started with PowerShell Core on Windows, Mac, and Linux
This is deeper than Coke vs. Pepsi or Ford vs. Chevy. We are breaking down the barriers. Cats and dogs living together. Are you ready for this? This month I posted over on the PowerShell team blog...
View ArticleSlow Code: Top 5 Ways to Make Your PowerShell Scripts Run Faster
Slow code? Are you frustrated by slow PowerShell scripts? Is it impacting business processes? Need help tuning your scripts? Today's post is for you. Can you identify with any of these customer slow...
View ArticleUse Hash Tables To Go Faster Than PowerShell Compare-Object
Compare-Object gotcha down? Slower than my old 300 baud modem? Have no fear. Today we go faster using hash tables. Let me state first that I love the cmdlet Compare-Object, and I have used it many...
View ArticleFunction to Create Certificate Template in Active Directory Certificate...
Today I’m cleaning out my code closet. I found this script that I have wanted to share for a while now. Problem Active Directory Certificate Services does not include a template for Document...
View ArticleNew, Improved Group Policy Link Report with PowerShell
A peer asked me to update one of my classic Group Policy reporting scripts this week, so I thought I would share the update with y'all. Continuous Improvement Over the years I have released a number of...
View ArticleNew-TimeSpan -Start ‘9/1/2017’
Dear readers of the GoateePFE blog, It is with mixed emotion that I announce after seven years of real-world script blogging this is the final GoateePFE blog post. I have chosen to take the next step...
View Article