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 , , , , , , | 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 , , , | 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 , , , , , | 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 , , , , , , , | 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 , , , , , | Comments Off