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
Tag Archives: objects
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 DNS, IPConfig, objects, PowerShell, Scripting
Comments Off
Ping IP Range
Last week I came across a post on using PowerShell, or more specifically a .NET Framework class, to ping a range of computers in an IP subnet. The original post by Thomas Maurer is here. I added a comment. And … Continue reading
Posted in PowerShell, PowerShell v2.0
Tagged Invoke-Command, Jobs, new-object, objects, Ping, PowerShell, Scripting, Start-Job, Test-Connection
1 Comment
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
Select Object Properties with Values
Here’s another concept I know I’ve written about in the past but that needed an update. A common technique I use when exploring and discovering objects is to pipe the object to Select-Object specifying all properties, get-service spooler | select … Continue reading
Posted in PowerShell v2.0, Scripting
Tagged functions, get-member, objects, PowerShell, Scripting, Select-Object
Comments Off



