See all products »
Curah! curation service
Microsoft Tech Companion App
Microsoft Technical Communities
Microsoft Virtual Academy
Server and Tools Blogs
TechNet Flash Newsletter
Cloud and Datacenter
Windows Server 2012 R2
System Center 2012 R2
Microsoft SQL Server 2012 SP1
Windows 8.1 Enterprise
See all trials »
Microsoft Download Center
TechNet Evaluation Center
Compatability & Converters
Microsoft Virtual Academy
Free Windows Server 2012 courses
Free Windows 8 courses
SQL Server training
MCSA: Windows 8
Windows Server Certification (MCSE)
Private Cloud Certification (MCSE)
SQL Server Certification (MCSE)
Second shot for certification
Born To Learn blog
Find technical communities in your area
For small and midsize businesses
For IT professionals
For technical support
For home users
Microsoft Premier Online
Microsoft Fix It Center
Security Bulletins & Advisories
International support solutions
Log a support ticket
Not an IT pro?
Microsoft Customer Support
Microsoft Community Forums
Blog of Microsoft Premier Field Engineer Ashley McGlone featuring PowerShell scripts for Active Directory.
Central Ohio PowerShell Users Group
Heroes To Mentors
powershell web access
Windows Server 2012
Year in Review
Browse by Tags
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...
14 Mar 2014
PowerShell Saturday 007 Charlotte: From Cmdlets to Scripts to PowerShell Hero
PowerShell Saturday 007 Today I am spending time with passionate PowerShell people in Charlotte. This is a blast! Greetings to: Ed Wilson @ScriptingGuys Theresa Wilson @ScriptingWife Glenn Sizemore @GlnSize Jim Christopher @Beefarino Brian Wilhite @BWilhite1979 And many more…...
8 Feb 2014
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...
30 Jan 2014
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...
20 Dec 2013
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...
29 Aug 2013
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...
27 Jun 2013
How to do PowerShell on your phone
Even Spiderman would envy this web action. Today we're going to walk through setting up a portable PowerShell v3 Web Access demo . Using this demo guide you can explore PowerShell from any web-capable device: your phone, your tablet, or your Raspberry Pi . The links in this post will guide you to all...
5 Feb 2013
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...
26 Nov 2012
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...
9 Nov 2012
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...
17 Oct 2012
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...
15 Sep 2012
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...
10 Sep 2012
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...
21 Aug 2012
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
5 May 2012
Don't miss the first PowerShell Saturday event
On March 10th the Microsoft Scripting Guy, Ed Wilson , is coming to Columbus, Ohio to kick off the first ever PowerShell Saturday community event. These events have been very popular with SQL and SharePoint user groups all over the US, and we are launching the first one for PowerShell on Saturday, March...
1 Feb 2012
Everything you need to get started with Group Policy
My last post on getting started with Active Directory was so popular that I thought I would do one for getting started with Group Policy . Once again this link list will satisfy everyone from beginner to advanced. I know there are many other third party resources and books, but I want to surface Microsoft...
9 Jan 2012
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...
12 Oct 2011
PowerShell: SID Walker, Texas Ranger (Part 2)
More bad Chuck Norris one liners: You don't get access unless Chuck Norris says you get access. The Chuck Norris array starts and ends on 1, because Chuck Norris is never a zero. Chuck Norris' PowerShell console NEVER shows red text. This is part two in a series on translating SIDs...
16 Sep 2011
COPUG – Central Ohio PowerShell User Group – September 29 – Special guest Matt Hester
Join us on September 29th as we welcome Matt Hester. About Matt: Microsoft Senior IT Pro Evangelist for the Heartland District TechNet Blog Co-host of the Talk TechNet show Co-author of Automating Microsoft Windows Server 2008 R2 with Windows PowerShell 2.0 Meeting Date: Thursday...
15 Sep 2011
Ed Wilson is coming to Columbus, Ohio!
Hey folks, The Microsoft Hey Scripting Guy , Ed Wilson , is coming to Columbus, Ohio on July 21st from 6:30PM to 8:00PM to speak at the Central Ohio PowerShell Users Group . Find the full details here: http://powershellgroup.org/content/july-central-ohio-powershell-users-group-location-change ...
13 Jul 2011
PowerShell Remoting Exposed: How To Command Your Minions
We have many words to describe those who do the boss's dirty work: minion, henchman, and toadie. My personal favorite is "toadie", as referenced in A Christmas Story . You can tour the house just outside of Cleveland, Ohio. Of course I got my picture taken with the leg lamp. "So what does 'toadie...
18 Apr 2011
Consolidate All AD Empty Sites Into A Single SiteLink Using PowerShell
Do you have a large Active Directory site topology with many empty sites? If so, this post is for you. Empty sites are AD sites without a domain controller. These sites are used to support AD site-aware applications like SCCM and DFS where clients get local site referrals. Recently I encountered...
11 Feb 2011
A Dickens of a DNS Puzzle: How to clean up those stale AD site DNS records (with PowerShell of course)
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 I visit customers I find a graveyard down in the DNS tree where stale AD sites live like the ghost...
23 Dec 2010
Big Downloads With PowerShell
Personally I do not trust some of the popular 3rd party tools used for big downloads given the nepharious nature of the content people usually download with them. That leads me to believe that the creators of such tools may not be entirely trustworthy, so I would prefer not to install those tools on...
18 Nov 2010
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 the DNSExporter tool, but it is much simpler to use. See the script for syntax and notes. # --------...
2 Sep 2010
© 2014 Microsoft Corporation.
Privacy & Cookies