O'Reilly logo

PowerShell Deep Dives by Edited by Jeffery Hicks, Richard Siddaway, Oisín Grehan, and Aleksandar Nikoli

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 17. Turning command-line tools into PowerShell tools

Jeffery Hicks

As terrific as PowerShell is as an automation engine and management tool, and despite the new cmdlets that shipped with Windows 8 and Windows Server 2012, there are still times when a command-line (CLI) tool gets the job done. Perhaps there isn’t a cmdlet replacement yet, or the CLI tool is easy to run. Or perhaps you have some legacy batch files that you need to use. The downside is that although you can run these tools in PowerShell, you’re limited with regard to what you can do with them because CLI tools write text and PowerShell is all about objects.

In this chapter I’ll show you how to turn output from CLI tools into something you can work with in a PowerShell ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required