GoateePFE - Archived

Archived blog of former Microsoft Premier Field Engineer Ashley McGlone featuring PowerShell scripts for the real world.

New-TimeSpan -Start '9/1/2017'

Dear readers of the GoateePFE blog, It is with mixed emotion that I announce after seven years of...

Author: Ashley McGlone Date: 09/01/2017

A peer asked me to update one of my classic Group Policy reporting scripts this week, so I thought I...

Author: Ashley McGlone Date: 08/31/2017

Function to Create Certificate Template in Active Directory Certificate Services for PowerShell DSC and CMS Encryption

Today I’m cleaning out my code closet. I found this script that I have wanted to share for a while...

Author: Ashley McGlone Date: 08/29/2017

Use Hash Tables To Go Faster Than PowerShell Compare-Object

Compare-Object gotcha down? Slower than my old 300 baud modem? Have no fear. Today we go faster...

Author: Ashley McGlone Date: 08/07/2017

Slow Code: Top 5 Ways to Make Your PowerShell Scripts Run Faster

Slow code? Are you frustrated by slow PowerShell scripts? Is it impacting business processes? Need...

Author: Ashley McGlone Date: 07/12/2017

Getting Started with PowerShell Core on Windows, Mac, and Linux

This is deeper than Coke vs. Pepsi or Ford vs. Chevy. We are breaking down the barriers. Cats and...

Author: Ashley McGlone Date: 06/21/2017

Top 10 PowerShell DSC Node Events to Monitor

In a previous blog post I demonstrated how to get a list of all possible PowerShell Desired State...

Author: Ashley McGlone Date: 05/11/2017

PowerShell Remoting and Kerberos Double Hop: Old Problem - New Secure Solution

PowerShell and DevOps Global Summit 2017 This week I enjoyed presenting at the PowerShell and DevOps...

Author: Ashley McGlone Date: 04/12/2017

Practical PowerShell Security: Enable Auditing and Logging with DSC

PowerShell Security Almost two years ago Lee Holmes released his famous PowerShell ♥ the Blue Team...

Author: Ashley McGlone Date: 03/29/2017

Compare Group Policy (GPO) and PowerShell Desired State Configuration (DSC)

What is the difference between Group Policy (GPO) and PowerShell Desired State Configuration (DSC)?...

Author: Ashley McGlone Date: 02/27/2017

Pro Tip: PowerShell DSC Events to Monitor

The Problem I need to monitor PowerShell DSC health on all of my nodes. But I do not want to wait...

Author: Ashley McGlone Date: 01/12/2017

How to run a PowerShell script against multiple Active Directory domains with different credentials

I was working with a customer recently who needed to execute the same script against servers in...

Author: Ashley McGlone Date: 11/30/2016

Use the new PowerShell cmdlet ConvertFrom-String to parse KLIST Kerberos ticket output

Tired of hacking away at RegEx and string functions to parse text? This post is for you!...

Author: Ashley McGlone Date: 09/14/2016

Use the new PowerShell cmdlet Convert-String to parse email addresses

Tired of hacking away at RegEx and string functions to parse text? This post is for you! New toys...

Author: Ashley McGlone Date: 09/13/2016

PowerShell Remoting Kerberos Double Hop Solved Securely

The struggle is real. Are you facing issues with PowerShell remoting and credentials? You remote...

Author: Ashley McGlone Date: 08/30/2016

PowerShell DSC 101: Using the Script Resource to Enable the Windows Firewall

Learning PowerShell Desired State Configuration PowerShell DSC is one of my favorite topics to...

Author: Ashley McGlone Date: 07/21/2016

PowerShell Video Training from Microsoft

People frequently ask me, “Where can I learn more about PowerShell?” Today’s post will highlight...

Author: Ashley McGlone Date: 04/01/2016

Let’s meet up! GoateePFE Speaking Schedule March/April 2016

Hi folks. Quick checkpoint here to let you know where we can meet up on the road. I’ll be presenting...

Author: Ashley McGlone Date: 03/10/2016

11 Hours of PowerShell WMF 5.0 Training Available for Microsoft Premier Customers

PowerShell WMF 5.0 RTM Video Training now available! PowerShell WMF 5.0 has reached RTM, and I am...

Author: Ashley McGlone Date: 03/09/2016

Install the Active Directory PowerShell Module on Windows 10

Today I share a script to automate all of the manual steps involved with setting up the Active...

Author: Ashley McGlone Date: 02/26/2016

How to Contribute to PowerShell Documentation

Let’s Meet Up In Florida! Hi, folks. The Scripting Guy is hosting a PowerShell Saturday event...

Author: Ashley McGlone Date: 01/27/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...

Author: Ashley McGlone Date: 12/18/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...

Author: Ashley McGlone Date: 11/20/2015

Editorial: Working with Legends, We’re Hiring

Today’s post is an insider’s personal view of working at Microsoft, and some links to...

Author: Ashley McGlone Date: 10/16/2015

This is a quick post of links and demos for those who attended the Premier webcast today...

Author: Ashley McGlone Date: 10/09/2015

PowerShell DSC FAQ: Sorting Out Certificates

Hello, everyone. This week I posted over on the PowerShell Team Blog. One of the most common...

Author: Ashley McGlone Date: 10/02/2015

These are some helpful links for folks new to PowerShell and Desired State Configuration. At the...

Author: Ashley McGlone Date: 09/08/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...

Author: Ashley McGlone Date: 08/31/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...

Author: Ashley McGlone Date: 08/04/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...

Author: Ashley McGlone Date: 07/15/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...

Author: Ashley McGlone Date: 06/11/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...

Author: Ashley McGlone Date: 05/22/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...

Author: Ashley McGlone Date: 04/22/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...

Author: Ashley McGlone Date: 03/20/2015

Helper Function to Create a PowerShell DSC Composite Resource

PowerShell Desired State Configuration (DSC) Although I have not blogged about PowerShell Desired...

Author: Ashley McGlone Date: 02/25/2015

Honorary Scripting Guy I would like to thank Ed and Teresa Wilson, the Microsoft Scripting Guy and...

Author: Ashley McGlone Date: 01/26/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...

Author: Ashley McGlone Date: 12/17/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...

Author: Ashley McGlone Date: 11/26/2014

Microsoft Virtual Academy: Using PowerShell for Active Directory

Welcome! Today’s post includes demo scripts and links from the Microsoft Virtual Academy series:...

Author: Ashley McGlone Date: 10/29/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...

Author: Ashley McGlone Date: 09/05/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...

Author: Ashley McGlone Date: 08/11/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...

Author: Ashley McGlone Date: 08/01/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...

Author: Ashley McGlone Date: 07/31/2014

Next>