Scripting Blog [archived]

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

Change a PowerShell Preference Variable to Reveal Hidden Data

Summary: Change the $FormatEnumerationLimit Windows PowerShell preference variable and display more data in the console.   Microsoft Scripting Guy Ed Wilson here. It is approaching the holiday season in Charlotte, North Carolina, in the United States. From now until the middle of January, 2012, many companies are on “IT lockdown&...

Use the PowerShell Passthru Parameter and Get Back Objects

Summary: Learn how to use the passthru parameter in Windows PowerShell to return objects from commands and allow more management tools.   (image) Hey, Scripting Guy! I have got a rather curious question that I have not been able to find anything about. What is up with the passthru parameter? I mean, I see it on some commands, and not on ...

Two Powerful Tricks for Finding PowerShell Scripts

Summary: Microsoft Scripting Guy Ed Wilson shares two powerful tricks for finding Windows PowerShell scripts.   (image) Hey, Scripting Guy! I am wondering if you have any cool ways to help me find the scripts I have written. I have quite a few scripts in my scripts folder, but opening Windows Explorer and searching through them is slow, ...