This Friday (04/12/13), I am leading an hour long Lunch & Learn session going over the basics of PowerShell. A question I consistently see is, “I am new to PowerShell. What do I need to first?” Here are the two first things you should do:
Category Archives: PowerShell
This category contains any PowerShell related posts.
Finding the Technical Needle in the Proverbial Haystack (Part 3)
Wrapping up our series on finding technical information quickly, we are going to explore the Group Policy Search service a little bit more. With over 3400 policy settings that can be configured in multiple ways, finding (and understanding) that perfect setting can be a challenge. Because you will likely be hunting these settings in Group Policy Management Console (GPMC), we are going to add a search option that links us back to the Group Policy Search service.
GPResult Command or RSOP?
From Windows 2000 through Vista, the go to tool for troubleshooting Group Policy on the client was RSOP.msc. The GPResult command was always, at least for me, a second choice in troubleshooting. Yes, GPResult had unique features and was certainly useful at times. But the similar interfaces between RSOP.MSC and the Group Policy Management Editor made troubleshooting so much easier.
The times had to change. With the complete rebuild of the GPResult command, administrators need to learn a whole new set of commands and actions.
Optimizing GPO Links with PowerShell
Windows Performance Analyzer (WPA) has opened my eyes to a lot of things in the past week! For one, 30 seconds of our 40 second login was being eaten by GPClient. I noticed that we had a lot of GPOs linked to high level OUs even though only a few machines actually needed the policy.
The picture above shows an example. So how can I automatically find out what computers need which policy and then relink the GPO closer? Let’s script it!
Prevent Accidental Deletion
Ever have that Oh Sh!t – Stomach Churning – Career Ending moment where you accidently deleted something you shouldn’t?
Why is Delete right beside Rename!
Because even Admins make mistakes, it is a best practice to protect every critical object in AD from accidental deleting something. How you ask?




