Finding the Average Group Policy Processing Time Using Microsoft PowerShell V1.0
On a recent project, we thought the group policies being applied were causing slow user logons and application launches. What we needed was a way to determine how long just group policy was taking to process. This article shows how we determined the amount of time group policy was taking.
Update 21-Mar-2016: A reader from New Zealand reported the script did not work for him. Get-WinEvent returned nothing for the Message property. Turns out that is a known bug according to this post on Stack Overflow. If your PowerShell version is later than version 2 or if your culture is not en-US, then the Message property contains no data. There are two possible work-arounds:
1. Start your PowerShell session with the parameter -Version 2. i.e. PowerShell.exe -Version 2
2. Add the following line to the script:
Read the entire article here, Finding the Average Group Policy Processing Time Using Microsoft PowerShell V1.0
via Carl Webster