Goatee PFE

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

May, 2011

  • Using PowerShell to resolve Token Size issues caused by SID history

    Today we will address the token size SID history scenario with a PowerShell script that documents the extent of SID history in your environment and creates a SID mapping file for use with the ADMT to migrate security resources to the new SIDs.

  • Do Over: SID History One-Liner

    The very same day I posted the SID history script I found a shorter way to do it.  I'm calling a "do over".  When you display a list of object properties sometimes one of those properties contains multiple entries in an array or object collection.  In order to expand those multiple values into single rows we pipe the output to Select-Object -ExpandProperty.