Skype for Business
See all products »
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 2014 SP1
Windows 8.1 Enterprise
See all trials »
Microsoft Download Center
TechNet Evaluation Center
Microsoft Virtual Academy
Free Windows Server 2012 courses
Free Windows 8 courses
SQL Server training
Microsoft Official Courses On-Demand
MCSA: Windows 10
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
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
Desired State Configuration
Heroes To Mentors
Microsoft Virtual Academy
powershell web access
Windows Server 2012
Year in Review
Browse by Tags
How to Contribute to PowerShell Documentation
Let’s Meet Up In Florida! Hi, folks. The Scripting Guy is hosting a PowerShell Saturday event in Florida on March 19, 2016 . I’ll be speaking there with a bunch of PowerShell friends. Come join us for a great day of PowerShell learning. Find more information here . How to Contribute...
28 Jan 2016
Using Credentials with PsDscAllowPlainTextPassword and PsDscAllowDomainUser in PowerShell DSC Configuration Data
Warnings and errors, oh my! If you have written a DSC configuration containing a credential, then you have likely seen error messages about plain text passwords. And recently a warning was added when using domain credentials. In today's post we explain how to handle these appropriately using DSC...
18 Dec 2015
DevOps for n00bs (ie. Windows people like me)
Tidal Wave: DevOps There is a tidal wave coming to Windows IT Pros, especially those supporting infrastructure. That tidal wave is called DevOps . I’ve spent the last year wiping out in the surf of the tidal wave, trying to learn the lingo. As a Windows ops guy I’ve been attending non...
20 Nov 2015
Links and Demos for PowerShell v5 Production Preview
This is a quick post of links and demos for those who attended the Premier webcast today What’s New in PowerShell v5 . Download linked at the bottom of the post. Enjoy! https ://msdn.microsoft.com/powershell PowerShell landing page WMF 5.0 download link (bits & release notes) ...
9 Oct 2015
PowerShell DSC FAQ: Sorting Out Certificates
Hello, everyone. This week I posted over on the PowerShell Team Blog. One of the most common questions I get regarding PowerShell Desired State Configuration is about certificates. What kind do I need? How many? Where do they go? In this blog post we will sort out certificate requirements for PowerShell...
2 Oct 2015
Links for DevOps Columbus
These are some helpful links for folks new to PowerShell and Desired State Configuration. At the bottom is a bonus section of related *nix links as well. To quote our CEO, “ Microsoft loves Linux .” Microsoft Ignite 2015 Conference - DevOps Sessions https://channel9.msdn.com/Events/Ignite...
8 Sep 2015
Forensics: Automating Active Directory Account Lockout Search with PowerShell (an example of deep XML filtering of event logs across multiple servers in parallel)
Overview Today we learn how to efficiently filter event log queries, going beyond simple event ID filtering into the specific values of the XML message data. Then we will run this filter against multiple servers in parallel for faster data collection. This posts meets the following objectives:...
1 Sep 2015
Let's meet up in North Carolina Monday evening (8/10)
This is a quick announcement that I'll be in Raleigh/Durham, North Carolina this coming Monday night, August 10th. I'll be speaking on one of my favorite topics (Active Directory PowerShell) at the Research Triangle PowerShell User Group . Find out more information here . Hope to see you there...
4 Aug 2015
Configuring Active Directory with PowerShell DSC and the New xADRecycleBin Resource
Active Directory and PowerShell DSC Today’s post is the second in a series on using PowerShell DSC with Active Directory . We will demonstrate configuring the AD Recycle Bin and domain trusts with PowerShell Desired State Configuration. As a bonus we will throw in a registry key for some special...
15 Jul 2015
UPDATED: Copy and Merge Group Policies (GPOs) with PowerShell
GPO Consolidation Redux Do you have Group Policies gone wild? Did you realize too late that it might not be such a good idea to delegate GPO creation to half the IT department? Have you wanted to combine multiple policies into one for simplicity? This blog post is for you. One of my most popular...
11 Jun 2015
17 Hours of PowerShell Desired State Configuration (DSC) Video Training
PowerShell DSC Video Training now available! I am excited! Microsoft Premier customers now have access to 17 hours of real-world PowerShell Desired State Configuration (DSC) video training through the Premier Workshop Library on Demand (WLOD) subscription. We recorded 11 modules on topics from beginner...
22 May 2015
PSHSummit: Managing PowerShell in the Enterprise Using Group Policy
PowerShell Summit North America 2015 Do you want to meet other people enthused about PowerShell? Do you wish you had access to experts who could answer all of your PowerShell questions… in person? Yes? The PowerShell Summit is your opportunity hosted in the United States and Europe each year...
22 Apr 2015
Deploy Active Directory with PowerShell DSC (a.k.a. “DSC-PROMO”)
Active Directory and PowerShell DSC Today’s post is the first in a series on using PowerShell DSC with Active Directory . I don’t know how many blog posts there will be. I haven’t written them yet. What I can tell you, is that I have a load of fun scripts to share. Today we will...
20 Mar 2015
Helper Function to Create a PowerShell DSC Composite Resource
PowerShell Desired State Configuration (DSC) Although I have not blogged about PowerShell Desired State Configuration (DSC) very much, it has been my sole focus for the last several months. I have been doing Introduction to PowerShell DSC talks for customers and helping them get started with their...
25 Feb 2015
Forensics: Audit Group Policy Links and Changes with PowerShell
Honorary Scripting Guy I would like to thank Ed and Teresa Wilson, the Microsoft Scripting Guy and the Scripting Wife, for bestowing upon me the title of Honorary Scripting Guy . This was a humbling surprise. It has been a joy to share my scripting passion with the community, and I will continue to...
26 Jan 2015
Forensics: Monitor Active Directory Privileged Groups with PowerShell
Someone just now added Jimmy to the Domain Admins group! How do I know? Because I used PowerShell to check. Let me show you how. Some of the best customers that I visit get email pages when high value group memberships change. Obviously this is strongly encouraged for IT shops of any size. Of course...
17 Dec 2014
Active Directory Week on the Hey Scripting Guy Blog and Free AD PowerShell Videos at Microsoft Virtual Academy
Hello, everyone. Today I have a short post with some helpful links to share. If you are in the US, I hope you have a good Thanksgiving holiday week and not too much after-hours support. Spending time with family is refreshing for me at the holidays. Hey Scripting Guy Blog - Active Directory Week ...
26 Nov 2014
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....
29 Oct 2014
See GoateePFE Live or On-Demand Talking about Active Directory PowerShell
Whew. This has been a busy season for speaking, blogging, and recording. I’ve spent more time on airplanes than in my office at home for the last few months. It’s all good, and I want to share it with you. Here are some places you can find me online, on stage, and on camera… ...
16 Oct 2014
DogFoodCon 2014: Reduce Server Outages Using PowerShell Desired State Configuration
DogFoodCon 2014 I always look forward to catching up with customers and associates at the Columbus, Ohio DogFoodCon . This is a growing IT conference, and it has become quite popular for several states around. Here is the abstract for my session Tuesday: Reduce Server Outages Using PowerShell Desired...
30 Sep 2014
PowerShell Module for Active Directory SID History Now Faster
It has been a while since I’ve released any updates to the Active Directory SID History PowerShell Module . Today’s release leverages improvements in PowerShell v3.0 for faster and better results. “We can rebuild him. We have the technology.” Before Stone Cold Steve Austin...
5 Sep 2014
GPO Migration with PowerShell – Now including WMI filters
TechMentor Redmond 2014 This week I am presenting a session on GPO migration at TechMentor Redmond 2014. This is an expanded version of the session I gave at the PowerShell Summit back in April. I received feedback in April that WMI filters must be supported before this would be considered a viable...
11 Aug 2014
DNS Server and Zone Reporting with PowerShell
Who-Is On First? While working on DNS automation for a customer recently I needed some quick scripts to inventory Active Directory-integrated DNS server and zone configurations . All too often the way we think things are configured does not match reality. Are the forwarders consistent and correct...
1 Aug 2014
DNS Zone Copy and Merge with PowerShell
Have you ever wanted to roll up all of your reverse zones into a "big 10" super zone? Do you need to copy DNS zones between environments and preserve the record aging? Today's post is for you. Author’s note: While flying home on a Friday night this blog post was mostly composed...
31 Jul 2014
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...
18 Jun 2014
© 2016 Microsoft Corporation.
Privacy & Cookies