Scripting Blog

A place to learn about PowerShell and share stories of automation

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (03/20/09)

Troubleshooting an Active Directory HTA   Hey, Scripting Guy! I have created an HTML Application (HTA) to prompt a support person for their administrative ID and password and a computer name that they wish to delete from Active Directory. The script uses the alternate credentials to find the computer object alright, but does not use the ...

Hey, Scripting Guy! How Can I Search Active Directory and Produce a Report?

Hey, Scripting Guy! We are in the situation where we are closing a number of remote offices, and I need to quickly be able to generate a list of the computers that are contained in those remote offices. Basically I need to be able to generate a report that tells me the location and the name of the computer assets for each of a series of ...

Hey, Scripting Guy! How Can I Search Active Directory with Windows PowerShell to Return a List of Missing Groups?

Hey, Scripting Guy! We created some groups that were used by our student interns. The student interns have now returned to college (yeah, it was a while ago). To be honest, I had actually forgotten about these groups, but the other day I was doing some work in Active Directory Users and Computers and I happened across one of these student ...