Archive for September, 2007

We Don’t Need No Stinkin’ Scripts…

Another reason to love PowerShell… the command line. We work directly with objects in the command shell; minimal code required. The days of writing VBScripts to pull system information is long gone. Still hanging on to VBScript, resistant to change, this article may just change your mind…

Organizing Script Code – Calling Scripts from Other Script Files

Each one of us has our own style in the way we accomplish tasks, scripting is no different. My style is modular scripting; where I build libraries of functions (code blocks) and control script flow by calling functions in the order I choose. By maintaining a large library of user-defined functions (custom functions), I “snap-in” [...]

Windows PowerShell : The Definitive Guide

A new PowerShell book from another member of the PowerShell developer team. I can’t wait to read this one, the O’REILLY books have always been top-notch. Lee Holmes’s PowerShell book is due for release October 15th 2007, so look for it. Once I get my copy and read through it, I’ll post a review. Here is an overview of the book taken (verbatim) from the O’REILLY web-site:

3 Easy Steps to Get Information from Multiple Remote Computers…

As I perused the "Computer Hardware" section of the PowerShell Script Repository, I noticed that every PowerShell script uses the $strComputer = "." variable. Meaning the script only enumerates information on the "Local Computer." Not very practical in the "real-world," I don't know too many of you running scripts locally on each computer in your [...]