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&...

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...

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 ...

Configure PowerShell Remoting and Use Remote Commands

Summary: Learn how to configure Windows PowerShell remoting, store credentials, and use remote commands.   (image) Hey, Scripting Guy! I keep hearing about Windows PowerShell remoting. But I do not really know what Windows PowerShell remoting is. For example, I can use the Get-WMIObject to work with remote computers. Is that remoting? If ...