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: hashtable
Export and Import Hash Tables
I use hash tables quite a bit and with the impending arrival of PowerShell 3.0 I expect even more so. PowerShell v3 allows you to define a hash table of default parameter values. I’m not going to to cover that … Continue reading
Posted in PowerShell, PowerShell v2.0, Scripting
Tagged CSV, export, Function, hashtable, import, PowerShell, Scripting
13 Comments
Convert Text to Object
Today I have another tool in my new battle regarding turning command line tools into PowerShell tools. The bottom line is we want to have objects written to the pipeline. At the PowerShell Deep Dive in Frankfurt there was a … Continue reading
Posted in CommandLine, Conferences, PowerShell
Tagged DeepDive, functions, hashtable, new-object, objects, PowerShell, Scripting
9 Comments
Friday Fun Convert Object to Hash Table
I’ve been working on a few PowerShell projects recently and one requirement I had was to turn an object into a hash table. I thought this was something that was already handled in PowerShell but I couldn’t find a cmdlet … Continue reading
Posted in Friday Fun, Miscellaneous, PowerShell
Tagged Function, get-member, hashtable, objects, PowerShell
3 Comments
Friday Fun What a CHAR!
Last week I posted a PowerShell snippet on Twitter. My original post piped an array of integers as [CHAR] type using an OFS. Don’t worry about that. As many people reminded me, it is much easier to use the -Join … Continue reading
Posted in Friday Fun, PowerShell v2.0
Tagged Array, FridayFun, hashtable, PowerShell, ScriptBlock
3 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



