Tag Archives: ScriptBlock

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, WMI, Windows 7, Windows Server | 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