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