Goatee PFE

Blog of Microsoft Premier Field Engineer Ashley McGlone featuring PowerShell scripts for Active Directory.

Browse by Tags

Related Posts
  • Blog Post: The GoateePFE Active Directory PowerShell Link Fest

    Summer Time! Hi folks. It’s vacation time, so I’m going to keep it short today. This summer I am taking my family to Seattle on vacation. I’ve been there more times that I can count, but this time the family will get to see all of the sights for themselves rather than looking at...
  • Blog Post: Oh Snap! Active Directory Attribute Recovery With PowerShell

    I will be presenting this content as a session at two conferences this year: PowerShell Summit North America and TechMentor Redmond . I highly recommend both of these events to anyone wanting to grow their IT skills and network with experts in our field. I hope to see you there. The Problem ...
  • Blog Post: 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...
  • Blog Post: Using PowerShell to Find Stale and Duplicate Active Directory Groups

    PowerShell… “My mop!” One of the undisputed greatest movies of all time was UHF in 1989. Stanley Spadowski and his mop were an amazing force for good. He gave us all an important life lesson… “Life is like a mop. Sometimes it gets dirty, and you have to clean it out...
  • Blog Post: Use PowerShell to Find Windows XP Computers Still Alive in Your Active Directory Domain

    PS PSA – PowerShell Public Service Announcement Usually I like to offer deep technical content on the blog, but today I’m going to keep it simple. Everyone should be keenly aware that Windows XP support officially ends on April 8, 2014 . Many companies are migrating from Windows XP...
  • Blog Post: Back To The Future: Working with date data types in Active Directory PowerShell

    Crazy Dates Set your watch for January 1, 1601, Marty. Today we’re working with crazy dates in Active Directory PowerShell. If you have ever tried to script out Active Directory reports that included date fields, then you have likely run into this challenge. There are “real” dates...
  • Blog Post: PowerShell Tip: Active Directory Account Unlock Shortcut for Help Desk

    Today I posted over on the Hey Scripting Guy blog with a quick tip to unlock Active Directory user accounts . Check it out: Active Directory Account Unlock Shortcut for Help Desk
  • Blog Post: 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...
  • Blog Post: PowerShell: SID Walker, Texas Ranger (Part 3): Exporting Domain SIDs and Trusts

    This post is part three in a series on documenting and remediating SID history in your AD forest. Go back and read part 1 and part 2 if you haven't had a chance yet. In today's episode we will document the domain SIDs so we know from where this latent access originates. Rosetta Stone Many AD admins...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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 After...
  • Blog Post: 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...
  • Blog Post: How To Use The 2012 Active Directory PowerShell Cmdlets From Windows 7

    Antique Tools? The Windows Server 2012 Active Directory PowerShell module has some handy new cmdlets. However, many IT shops struggle to stay current on the latest operating system releases due to a variety of issues (budget, resources, compatibility, etc.). They desperately want to use the latest...
  • Blog Post: 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...
  • Blog Post: Everything you need to get started with Active Directory

    As a Microsoft Premier Field Engineer I frequently get asked for more information on Active Directory topics. Most of the time I end up passing along one or more of the links in today's post. I finally decided to put these all in one place for quick reference. This list will be extremely valuable for...
  • Blog Post: Active Directory PowerShell SIDHistory Module Update 1.5

    To see all of the articles in this series visit http://aka.ms/SIDHistory . I would like to thank everyone who has been using the Active Directory SIDHistory PowerShell module and sending me feedback . Your input helps guide future releases like the one I am publishing today. I’ve been sitting...
  • Blog Post: Rip off the bandaid with PowerShell (Using bitwise LDAP filters to search and destroy manual server connection objects)

    AD Replication Bandaids The worst part of a bandaid is ripping it off. The cure is worse than the problem. The only thing worse than a bandaid is surgical tape, especially when… never mind. Do you have any bandaids in your AD replication? You know… those manual server connection objects...
  • Blog Post: 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 In Active Directory...
  • Blog Post: Free Download: CMD to PowerShell Guide for AD

    New Years Resolution Hi folks. It's your friendly, neighborhood PFE again. In order to avoid the long lines to buy a treadmill the first week of January I thought I would save you some time and give you an easier New Years Resolution… Learn PowerShell. It's time to part with "blankie". ...
  • Blog Post: PowerShell Module for Working with AD SID History Updated

    TechReady At Microsoft we have an internal event called TechReady that happens twice each year. It is similar to our public TechEd event. Approximately 5,000 Microsoft technical field people from all over the world gather to learn the details of the latest product releases and dialog with the product...
  • Blog Post: Dude, where’s my GPO? Using PowerShell to find all of your Group Policy links.

    Stratego I only played Stratego once as a kid when I was over at a friend’s house. Strategy, challenge and mystery made the game captivating. A few years ago I bought a vintage 1961 edition on eBay so I could teach my sons to play. As it turns out this game has been around for centuries among...
  • Blog Post: How To Remove SID History With PowerShell

    Update: To see all articles in this series click here . In the United States we celebrate Thanksgiving tomorrow. No matter where you are in the world let us all give thanks for PowerShell. If Windows were the pumpkin pie, then PowerShell would be the whipped cream on top. If Active Directory were...
  • Blog Post: 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...
  • Blog Post: Touch-Free PowerShell DCPROMO in Windows Server 2012

    DCPROMO Keeping You Up At Night? Do you schedule DCPROMO activities for the weekend? After hours? Middle of the night? I remember those days. Often it was hard to get in the right frame of mind to think through all of the exact procedural steps during those late night change controls. It was always...