Category Archives: PowerShell v2.0

Thursday Treat – A PowerShell Word Find Game

Now for something completely different but hopefully a little fun. I’m a big fan of word games and puzzles. Tim Bolton has assembled a few PowerShell themed crosswords, which you can find on his blog. I’ve always like word finds … Continue reading

Posted in Miscellaneous, PowerShell v2.0 | Tagged , , | Leave a comment

Background Performance Counters

Windows Powershell makes it relatively easy to collect performance counter information via the Get-Counter cmdlet. Because I’m assuming you want to collect more than a few seconds of performance information, you’ll need to take advantage of PowerShell background jobs if … Continue reading

Posted in PowerShell v2.0, Train Signal, Windows Server | Tagged , , , , | Leave a comment

Add WhatIf Support to Your PowerShell Scripts

In one of my recent articles for SMB IT, I included a PowerShell module. In the article I referenced that I included support for -Whatif in one of the functions. I was asked on Twitter to explain what I meant … Continue reading

Posted in PowerShell v2.0, Scripting | Tagged , , | 2 Comments

Friday Fun – A Christmas Prompt

Over the last few weeks I’ve read about other people’s PowerShell prompts and offered a few suggestions of my own. This week’s Friday Fun creates colorful holiday prompt that counts down the number of days until Christmas.

Posted in Friday Fun, PowerShell v2.0 | Tagged , , , | 3 Comments

Turning IPConfig DNSCache into PowerShell

Lately I’ve been writing about techniques to turn command line tools into PowerShell tools. Although I suppose the more accurate description is turning command line output into PowerShell pipelined output. The goal is to run a command line tool and … Continue reading

Posted in CommandLine, PowerShell, PowerShell v2.0 | Tagged , , , , | Leave a comment