Book description
Windows power users have always envied their friends running UNIX machines for the ease of automation that they enjoy. The traditional Windows command-line shell, cmd.exe, has never been up to par with shells like bash or tcsh, especially when it comes to text processing and process automation.
Windows PowerShell changes all that. This next-generation shell is also a full-blown scripting environment with a real programming language that allows users to access every part of their operating system. Files, registry entries, and COM and .NET objects are all supported by PowerShell, which makes manipulating them a breeze.
Pro Windows PowerShell will show you how to use all this power in your own work. You'll discover the object-oriented features of the shell and how they help in extracting and manipulating data. You'll then learn how to use those features to solve real-world problems: manipulating files, working with text, monitoring systems, and performing operations over the network. The book serves as not only a tutorial, but also a reference: the "Real World" part is structured so that it can be read nonlinearly and used as a reference or a cookbook. And you'll find freely available tools and extensions that will help you do things even faster.
Pro Windows PowerShell is your best companion to the capabilities and power that PowerShell offers you.
Table of contents
- Copyright
- Dedication
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
- Objects and Object Types
- Controlling Execution Flow
-
The Object Pipeline
- Text-Based Pipelines
- Object-Based Pipelines
- Processing Collections Using ForEach-Object
- Filtering Collections Using Where-Object
- Adding or Deleting Properties Using Select-Object
- Sorting Collections
- Pipeline Tees
- Grouping Objects
- Gathering Collection Statistics
- Detecting Changes and Differences Among Objects
- The Object Pipeline and Functional Programming
- Summary
- Working with Script Blocks
- Working with Functions
- Command Aliases
- Providers
- Script Files
- Error Handling and Debugging
- Signing Scripts
- The Shell Environment and Its Configuration
- Extending the Type System
- Getting Help
- Taming Processes and Services
- Input and Output
- Monitoring Your System
- PowerShell and the World Wide Web
- Sending E-mail
- Talking to COM Objects
- Managing Windows with WMI
- PowerShell Community Extensions
- PSEventing: .NET Events in PowerShell
- Enhancing Tab Completion with PowerTab
Product information
- Title: Pro Windows PowerShell
- Author(s):
- Release date: February 2008
- Publisher(s): Apress
- ISBN: 9781590599402
You might also like
book
Windows PowerShell Quick Reference
For years, support for scripting and command-line administration on the Windows platform has paled in comparison …
book
Professional Windows® PowerShell
MSH is a new command-line shell for Microsoft server products, including the long-awaited Longhorn server, and …
book
Windows PowerShell 3.0 First Steps
Get started with this powerful Windows administration tool Automate Windows administration tasks with ease by learning …
book
Sams Teach Yourself Windows PowerShell in 24 Hours
In just 24 lessons of one hour or less, Sams Teach Yourself Windows PowerShell in 24 …