I gave a presentation at the Atlanta PowerShell User Group meeting yesterday (May 16, 2017) on Visual Studio Code and Powershell. Included below is the document I used for the presentation. I have included it for your reference.
Locating All of the Unlinked GPOs in Your Domain
Have you ever wanted to identify all of the Group Policy Objects (GPOs) in your domain that are not currently linked to any Organizational Units (OU)? This was the task I was given today by my project manager. He wanted me to identify any of our GPOs that were unlinked. We follow a certain naming scheme so that is how we identify ours. Well PowerShell made it so easy that I obtained ALL of the GPOs in the domain that were unlinked so I sent the list to our Active Directory (AD) team lead. PowerShell rocks!
Continue reading “Locating All of the Unlinked GPOs in Your Domain”
Using PowerShell Default Parameter Values to Prevent Unfortunate Accidents
If you have ever encountered the unfortunate circumstance of accidentally shutting down or rebooting your computer with PowerShell I am here to give you a tip you will definitely want to remember. First of all this solution requires version 3 so if you are still on version 2 then you will need to stash this one away.
Continue reading “Using PowerShell Default Parameter Values to Prevent Unfortunate Accidents”