Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Query AD for Computers and Use Ping to Determine Status

Summary: Learn how to use Windows PowerShell to query Active Directory for computers, ping for status, and display in green/red.   Microsoft Scripting Guy Ed Wilson here. While the Scripting Wife and I were out in California speaking to the Microsoft Premier Field Engineers (PFE) about Windows PowerShell, a question arose. The PFE said he...

Learn How to Run PowerShell Scripts Against Multiple Computers

   Summary: Microsoft Scripting Guy Ed Wilson teaches you how to run Windows PowerShell Scripts against multiple computers in this step-by-step article.   (image) Hey, Scripting Guy! I am wondering on the best way to cause my script to work against multiple computers. -- LS   (image) Hello LS, Microsoft Scripting Guy Ed ...

Hey, Scripting Guy! How Can I Create Users and Organizational Units with Active Directory Domain Services Cmdlets?

(image)   (image) Hey, Scripting Guy! I am interested in using Active Directory Domain Services (AD DS) cmdlets to create users and organizational units. Is this a hard thing to do? I only ask this because I am an extremely busy network administrator who has barely had time to begin looking at Windows PowerShell. I do not have a lot of ...

Hey, Scripting Guy! How Can I Find Old Computer Accounts?

(image) Hey, Scripting Guy! We have had a number of changes at our company recently. As a result, our Active Directory Domain Services (AD DS) installation is somewhat shabby. Okay, a lot shabby. When I go into AD DS Users and Computers and look through it, I cannot tell which computers are supposed to be there or not. How can I get rid of ...