16. Using PowerShell

In This Chapter

• You can often use either command lines or scripting commands to perform the same task

• You’ll learn how to use PowerShell cmdlets lines to generate, filter and format data

• Examples show how to use .NET Framework objects in scripts that manage files and folders.

• There are tips for writing robust, useful scripts

• You’ll see how to test and debug PowerShell scripts with the graphical Integrated Scripting Environment

Real-World PowerShell

In the previous two chapters, I described how to use the PowerShell command line and described the PowerShell programming language. In this chapter, we’ll put this information to use with real-world examples, both interactive and scripted. Here’s what I mean by ...

Get Windows 7 and Vista Guide to Scripting, Automation, and Command Line Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.