Tag Archives: ScriptBlock

Friday Fun: Start-TypedDemo v2

Not too long ago I posted a function I wrote for doing PowerShell demonstrations. My goal was to simulate a live interactive demo but without the typing so I could focus on explaining and not typing. The first version was … Continue reading

Posted in Friday Fun, PowerShell v2.0, Professional, Scripting, Training | Tagged , , , , | 5 Comments

Friday the 13 Script Blocks

In celebration of Friday the 13th and to help ward off any triskaidekaphobia I thought I’d offer up 13 PowerShell scriptblocks. These are scriptblocks that might solve a legitimate business need like finding how long a server has been running … Continue reading

Posted in PowerShell v2.0, Scripting, Windows 7, Windows Server, WMI | Tagged , , , , , , | 2 Comments

Out-Clip

I’ve started working on the 2nd edition of Managing Active Directory with Windows PowerShell: TFM. As with almost all of my writing projects it will be full of PowerShell code examples. In the past I’ve always relied on a manual … Continue reading

Posted in PowerShell v2.0, SAPIEN Press, Scripting | Tagged , , , , , , | 1 Comment

Potential Pipeline Pitfall

Last week I was helping someone out in the PowerShell forum at ScriptingAnswers.com. The specific problem is irrelevant;l however I  learned something in the process that will affect how I write my own PowerShell functions from now on. Not being … Continue reading

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

The PowerShell Balloon Festival

I trust by now you are realizing how valuable Windows PowerShell  is as a management tool. With a one line command you can accomplish an extraordinary amount of work. Sometimes this work may be long running, which is where background … Continue reading

Posted in CommandLine, PowerShell v2.0, Scripting, Windows 7 | Tagged , , , , , | 3 Comments