TIP: 2 Ways userAccountControl Is Easier In AD PowerShell

Background Anyone who wants to write scripts for Active Directory will eventually run into the famous userAccountControl attribute.  Usually this comes up when you are searching for disabled accounts.  Actually this attribute is a bit flag for 22 different account settings!  You can find them clearly documented in KB305144.  In the GUI you find these…

13

AD PowerShell Password Reset Shortcut for Helpdesk

Introduction Back in May I released a post on the Hey Scripting Guy blog showing how to create a shortcut to unlock a user account with a PowerShell desktop shortcut.  That post was very popular, and the comments evolved into another shortcut to reset passwords.  Due to the popularity and utility of the idea I…

12

DogfoodCon 2012 – Columbus, Ohio

Today I have the privilege of speaking at DogfoodCon 2012 in Columbus, Ohio.  My topic is “Active Directory PowerShell Step-By-Step”.  This post includes a download of the slide deck and demo scripts for the session. Here are the resource links that I shared today: RSAT Download for Windows 7 & Windows 8 Active Directory Management…

1

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…

28

Active Directory PowerShell Notes From The Field

PowerShell Saturday 002 Today I have the privilege of speaking at the second-ever PowerShell Saturday event.  As a Microsoft Premier Field Engineer I get to meet many customers and help them with their Active Directory and PowerShell needs. I’ve taken some of that experience and wrapped it into a presentation called Active Directory PowerShell Notes…

7

Freaky neat Active Directory site links with PowerShell

Author’s note:  Before you dismiss this article you should know that the top two areas where I find issues for AD health are replication and DNS.  If you’re short on time skip to the bottom section “But Wait… There’s More” and run that report in your environment.  Otherwise I think you’ll get a lot of…

5

What’s New In PowerShell v3: Demos to Download

Summer of Speaking This summer has been a busy time for me speaking at events. In July I spoke at TechReady on the topic of “Active Directory PowerShell Notes From The Field”. I’ll be giving that presentation again at the second PowerShell Saturday event in Charlotte, NC on September 15th. Sign up now while seats…

0

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…

32

Free Downloads: Windows PowerShell 3.0 Quick Reference Guides

Hey folks.  In case you missed it PowerShell Magazine created some handy guides for getting started with the new PowerShell v3 features.  We posted them here: http://www.microsoft.com/en-us/download/details.aspx?id=30002 “Quickly learn tips, shortcuts, and common operations in the new Windows Powershell 3.0, Windows PowerShell Workflow, Windows PowerShell ISE, Windows PowerShell Web Access, Server Manager for Windows Server…

0

New Microsoft Download: Active Directory Replication Status Tool

Our Microsoft Customer Service and Support experts have released a new tool for diagnosing AD replication errors: ADREPLSTATUS.  Here is the description from the download page: The Active Directory Replication Status Tool (ADREPLSTATUS) analyzes the replication status for domain controllers in an Active Directory domain or forest. ADREPLSTATUS displays data in a format that is similar to REPADMIN…

10