Scripting Blog [archived]

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

Keep Your PowerShell Versions Straight and Avoid Errors

Summary: Learn how to keep your Windows PowerShell versions straight, and avoid errors while using a one-line command to add computers to domain. Microsoft Scripting Guy, Ed Wilson, is here. Earlier this week I wrote Use PowerShell to Replace netdom Commands to Join the Domain. It turned out to be a very popular post. To be honest, however, ...

Use PowerShell to Reset the Secure Channel on a Desktop

Summary: Learn three ways to use Windows PowerShell to reset the computer secure channel. (image)  Hey, Scripting Guy! We have a problem with the computers in our computer classroom. We set up this classroom to teach new hires how to use our mission critical application. We are, however, not hiring as many people as we used to, and as a ...

Use PowerShell to Replace netdom Commands to Join the Domain

Summary: Learn how to replace netdom commands with simple Windows PowerShell cmdlets to rename and reboot the computer or join the domain. (image)  Hey, Scripting Guy! It seems that I have been hand building a number of computers recently for a computer lab we are setting up at work. I have written a batch file that uses netdom commands ...