Hey, Scripting Guy! How can I determine the SID for a user account? -- MD
Hey, MD. For those of you whose eyes glaze over any time they see an acronym (not that we blame you), SID is short for Security Identifier. A SID is a unique ID string (e.g....

Hey, Scripting Guy! I have a problem with a script I am trying to write. I have to evaluate between several conditions as they come into the script, but I do not understand the way the If statement in Windows PowerShell works. I even tried to use the...

Hey, Scripting Guy! One thing I miss in Windows PowerShell is the ability to use a Try/Catch/Finally block that I can use in C#. To me it is an elegant solution to error handling. You attempt something, catch any resulting errors, and clean up the mess...

Summary: Learn how to install Windows PowerShell on Windows 7, how to detect 32-bit PowerShell, or how to read an offline registry.
In this post:
Install Windows PowerShell on Windows 7
Detect 32-bit PowerShell
Read an Offline Registry...

Hey, Scripting Guy! How can I use a script to show me all the files in a folder? And then how can I modify that script so it shows me all the files in any subfolders of that folder? -- CS
Hey, CS. Yesterday we showed everyone a script that changed...

Hey Scripting Guy! Will you give us the final steps in the step-by-step guide about how to use an existing Windows PKI installation to sign Windows PowerShell scripts, or were you just kidding yesterday ?
--HR
Hello HR,
Microsoft Scripting...

Hey, Scripting Guy! Using Windows PowerShell, how can I replace all the asterisks in a text file with some other character? -- RC
Hey, RC. You know, a lot of people ask the Scripting Guy who writes this column, “How do you do it? How do you...

Summary : Learn how to use the Get-WinEvent Windows PowerShell cmdlet to filter the event log prior to parsing it.
Hey, Scripting Guy! I am confused. I have enjoyed using the Get-EventLog Windows PowerShell cmdlet. It is fast, and easy to use. However...