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: functions
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
Turning CLI Tools into PowerShell Tools Deep Dive Demos
Last week I did a presentation at the PowerShell Deep Dive in Frankfurt about turning command line tools into PowerShell tools. A video recording should be posted later. But in the meantime, here is a copy of my slide deck, … Continue reading
Posted in CommandLine, Conferences, PowerShell v2.0
Tagged conferences, DeepDive, functions, PowerShell
2 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
Get Local Administrators with WMI and PowerShell
Earlier this week I was helping someone out on a problem working with the local administrators group. There are a variety of ways to enumerate the members of a local group. The code he was using involved WMI. I hadn’t … Continue reading
Posted in PowerShell v2.0, Scripting, WMI
Tagged Administrators, functions, Get-WMIObject, Invoke-Command, Jobs, PowerShell, Scripting, WMI
12 Comments
Get WMI Namespace
PowerShell and WMI just seem to go together like peanut butter and jelly, beer and pretzels, or salt and pepper. However, discovering things about WMI isn’t always so easy. There are plenty of tools and scripts that will help you … Continue reading
Posted in WMI
Tagged functions, Get-WMIObject, Invoke-Expression, PowerShell, PSCredential, WMI
Comments Off



