My Profile Photo

duffney.io


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


  1. Rename Enable and Reset the Local Administrator Account with PowerShell

    We all know it’s not best practice to leave the local administrator account named administrator, for that reason most of us rename it. So why not save a little time while doing it? Below lists a simple PowerShell script that will rename the account enable it and reset the password. I’ve gotten a little tricky with the password and added the serial number as part of it. However that can easily be changed to whatever...…


  2. Stale Active Directory Groups

    Applies to: Windows PowerShell 3.0, Windows PowerShell 4.0, Windows PowerShell 5.0, ActiveDirectory Module 1.0 Arguably one of the most difficult objects to clean up within Active Directory is groups. Lucky after watching Using PowerShell for Active Directory on Microsoft Virtual Academy there was hope! Ashley McGlone and Jason Helmick did a fantastic job on the 7+ hour series. This is just one more example of how powerful PowerShell is, it gives you visibility into something...…