About Me

I am certified Microsoft professional, a Microsoft MVP and an IT veteran with almost 20 years of experience, much of it spent as an IT consultant specializing in Windows server technologies. I work today as an independent author, trainer and consultant. I've co-authored or authored several books, courseware, and training videos on administrative scripting and automation. My latest book is Managing Active Directory with Windows PowerShel: TFM 2nd Ed.(SAPIEN Press 2011).
-
Please consider a donation if I've been of any help or assistance. Thank you.
Blog Sponsors
coming soon....Sponsored Links
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 Function, PowerShell, ScriptBlock, Scripting, Write-Host
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 cmdlet, eventlog, FileSystem, PowerShell, ScriptBlock, Scripting, WMI
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 Array, functions, hashtable, PowerShell, PSCX, ScriptBlock, Scripting
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 functions, Pipeline, PowerShell, ScriptBlock, Scripting
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 Don Jones, functions, Get-Eventlog, Invoke-Command, PowerShell, ScriptBlock
3 Comments



