Active Directory OU Permissions Report: Free PowerShell Script Download

Who owns your OUs? Have you ever lost your keys? It is a scary feeling. Someone out there could have keys to your house and your car. Your personal safety could be at risk. The same is true in Active Directory.  Do you know who has the keys to all of your accounts? The Problem…

50

PowerShell Get-WinEvent XML Madness: Getting details from event logs

Announcements Before we jump into today’s script here are some current events: This blog post celebrates three years of PowerShell blogging on TechNet as GoateePFE.  It has been a great ride, and I am far from done.  See the most popular posts here.  Thank you for making this blog successful. The PowerShell Deep Dives book…

48

PowerShell Remoting Kerberos Double Hop Solved Securely

The struggle is real. Are you facing issues with PowerShell remoting and credentials? You remote into your jump box, but then any remoting beyond there gets a big red ACCESS DENIED. Maybe you’ve tried CredSSP, but people say that isn’t safe. Read today’s post for a completely legit, secure, safe, and easy way to enable…

38

Finally! Copy and merge GPOs! PowerShell saves the day!

UPDATE This script has been updated here.   The Problem I wish I had this script five years ago.  At the time I was searching for a way to combine or merge GPOs, but there simply wasn’t a way to do it.  And today there still isn’t a way to do it… until POWERSHELL!  Almost…

34

How to copy AD user attributes to another field with PowerShell

TechMentor Last week I spent some time working on my presentation for the TechMentor conference coming up in August.  It’s not too late to get in on the action, and this year it’s going to be in the heart of Microsoft country.  I hope to see you there. Tapioca Goodness I love tapioca pudding.  What…

33

PowerShell to Find Where Your Active Directory Groups Are Used On File Shares

Happy St. Patrick’s Day!  Enjoy some PowerShell limericks here.  Download today’s script from the TechNet Script Gallery. Where are my AD groups used? Today's post gives you a script to crawl your file shares and document the AD users and groups referenced in NTFS permissions.  I’m sure others have published similar scripts, but I want…

30

Oh Snap! Active Directory Attribute Recovery With PowerShell

The Problem Have you ever had to repopulate a batch of corrupted attributes for a large set of Active Directory objects? (Think Exchange or Lync, for example.) The Active Directory Recycle Bin is great for recovering deleted objects, but it will not help with corrupted objects. Authoritative restore is the textbook option, but there is…

29

AD Group History Mystery: PowerShell v3 REPADMIN

I remember back in high school the janitor had this massive ring of keys on his belt.  The keys would jingle with each step as he pushed the broom down the hall.  It was like his own percussion section accompanying the tune he whistled.  So what does this have to do with PowerShell? The Scenario…

29

Microsoft Virtual Academy: Using PowerShell for Active Directory

Welcome! Today’s post includes demo scripts and links from the Microsoft Virtual Academy series: Using PowerShell for Active Directory. Go watch the videos here. We had a great time creating this for you, and I hope you will share it with anyone needing to ramp up their AD PowerShell skills. I really enjoyed working with PowerShell…

26