Showing archive results for 2011

Nov 21, 2011
Post comments count0
Post likes count0

Make a Simple Change to PowerShell to Prevent Accidents

Doctor Scripto

Summary: Learn how a simple change to a preference variable can help prevent accidental changes when using Windows PowerShell.   Microsoft Scripting Guy Ed Wilson here. When I was teaching my Windows PowerShell Best Practices class out in Irvine, California, recently, I was talking to the class about the whatif parameter. I did my usual introd...

Scripting Guy!Windows PowerShellscripting techniques
Nov 20, 2011
Post comments count0
Post likes count0

Change a PowerShell Preference Variable to Reveal Hidden Data

Doctor Scripto

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

Scripting Guy!Windows PowerShellscripting techniques
Nov 19, 2011
Post comments count0
Post likes count0

Query AD for Computers and Use Ping to Determine Status

Doctor Scripto

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

Scripting Guy!Windows PowerShellscripting techniques
Nov 18, 2011
Post comments count0
Post likes count0

Use the PowerShell Passthru Parameter and Get Back Objects

Doctor Scripto

Summary: Learn how to use the passthru parameter in Windows PowerShell to return objects from commands and allow more management tools.   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 other commands...

Scripting Guy!Windows PowerShellscripting techniques
Nov 17, 2011
Post comments count0
Post likes count0

Learn How to Manage Remote PowerShell Sessions

Doctor Scripto

Summary: Microsoft Scripting Guy Ed Wilson discusses how to manage remote Windows PowerShell sessions.   Hey, Scripting Guy! I can see where being able to run a command on a remote computer might be kind of cool. But more often than not, I need to actually sit at the console of the remote computer. For this, I have been using remote desktop pr...

Scripting Guy!Windows PowerShellscripting techniques