PowerShell Script To Combine DNS Zones
Have you ever wanted to consolidate or merge duplicate primary DNS zones? This is a common scenario that I find, and usually it is related to reverse zones. This script functionality is similar to...
View ArticleA Dickens of a DNS Puzzle: How to clean up those stale AD site DNS records...
Typically DNS scavenging takes care of old DNS records, and that is the recommended path of resolution. For those who choose not to use scavenging, this post may be of some assistance.Frequently when...
View ArticlePowerShell Script To Combine DNS Zones
Have you ever wanted to consolidate or merge duplicate primary DNS zones? This is a common scenario that I find, and usually it is related to reverse zones. This script functionality is similar to...
View ArticleA Dickens of a DNS Puzzle: How to clean up those stale AD site DNS records...
Typically DNS scavenging takes care of old DNS records, and that is the recommended path of resolution. For those who choose not to use scavenging, this post may be of some assistance.Frequently when...
View ArticleDNS Zone Copy and Merge with PowerShell
Have you ever wanted to roll up all of your reverse zones into a "big 10" super zone? Do you need to copy DNS zones between environments and preserve the record aging? Today's post is for you.Author’s...
View ArticleDNS Server and Zone Reporting with PowerShell
Who-Is On First?While working on DNS automation for a customer recently I needed some quick scripts to inventory Active Directory-integrated DNS server and zone configurations. All too often the way we...
View ArticleUse the new PowerShell cmdlet Convert-String to parse email addresses
Tired of hacking away at RegEx and string functions to parse text? This post is for you! New toys PowerShell 5.x includes a number of new features. One of the lesser-known and incredibly powerful is...
View ArticleUse 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 Article