Scripting Blog

A place to learn about PowerShell and share stories of automation

Generating a New Password with Windows PowerShell

Summary: Microsoft Windows PowerShell MVP and Honorary Scripting Guy, Sean Kearney, talks about generating passwords with Windows PowerShell in Windows Server 2012. Microsoft Scripting Guy, Ed Wilson, is here. If you are a seasoned Hey, Scripting Guy! Blog reader, you know that the most frequent guest blogger is Sean Kearney. If you are ...

Decrypt PowerShell Secure String Password

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to easily decrypt the Windows PowerShell secure string password.  Hey, Scripting Guy! We have an FTP site that I have to use on a regular basis. I need an easy way to get a credential and use that credential with the FTP site so that I can download a file that changes on a daily basis...

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

How Can I Get Active Directory Information About Currently Logged-On Users?   Hey, Scripting Guy! I need your help. How do I get currently logged-on users from Active Directory? - HS Hi HS, There is no way to accurately obtain this information, because a logon can come in many different forms. As I sit in my house in Charlotte, North ...

How Can I Set a User’s Password and Then Require Them to Change That Password the Next Time They Log on?

Hey, Scripting Guy! In our school, how can I enable teachers to change a student’s password to their logon name, then force those students to change their password the next time they log on?-- DS Hey, DS. Boy, did you pick the wrong person to ask. After all, the Scripting Guy who writes this column used to be a teacher; if he knew how to ...