Book description
This portable reference to Windows PowerShell 3.0 summarizes the command shell and scripting language, and provides a concise reference to the many tasks that make PowerShell so useful. If you’re a busy Windows administrator, and don’t have time to plow through huge books or search online, this is the ideal on-the-job tool.
Written by Microsoft PowerShell team member Lee Holmes, and excerpted from his Windows PowerShell Cookbook, this edition offers up-to-date coverage of PowerShell 3.0. You’ll find information on the .NET classes and legacy tools you need to manage your system, along with chapters on how to write scripts, manage errors, and format output.
Beginning with a guided tour of Windows PowerShell, this handy guide covers:
- PowerShell language and environment
- Regular expression reference
- XPath quick reference
- .NET string formatting
- .NET DateTime formatting
- Selected .NET classes and their uses
- WMI reference
- Selected COM objects and their uses
- Selected events and their uses
- Standard PowerShell verbs
Publisher resources
Table of contents
- Preface
-
A Guided Tour of Windows PowerShell
- Introduction
- An Interactive Shell
- Structured Commands (Cmdlets)
- Deep Integration of Objects
- Administrators as First-Class Users
- Composable Commands
- Techniques to Protect You from Yourself
- Common Discovery Commands
- Ubiquitous Scripting
- Ad Hoc Development
- Bridging Technologies
- Namespace Navigation Through Providers
- Much, Much More
-
1. PowerShell Language and Environment
- Commands and Expressions
- Comments
- Help Comments
- Variables
- Booleans
- Strings
- Numbers
- Arrays and Lists
- Hashtables (Associative Arrays)
- XML
- Simple Operators
- Comparison Operators
- Conditional Statements
- Looping Statements
- Working with the .NET Framework
- Writing Scripts, Reusing Functionality
- Managing Errors
- Formatting Output
- Capturing Output
- Common Customization Points
- 2. Regular Expression Reference
- 3. XPath Quick Reference
- 4. .NET String Formatting
- 5. .NET DateTime Formatting
- 6. Selected .NET Classes and Their Uses
- 7. WMI Reference
- 8. Selected COM Objects and Their Uses
- 9. Selected Events and Their Uses
- 10. Standard PowerShell Verbs
- Index
- About the Author
- Colophon
- Copyright
Product information
- Title: Windows PowerShell Pocket Reference, 2nd Edition
- Author(s):
- Release date: December 2012
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449320966
You might also like
book
Pro Windows PowerShell
Windows power users have always envied their friends running UNIX machines for the ease of automation …
book
Windows PowerShell for .NET Developers - Second Edition
Efficiently administer and maintain your development environment with Windows PowerShell About This Book Explore scripting and …
book
PowerShell Pocket Reference, 3rd Edition
This portable reference to PowerShell summarizes the command shell and scripting language and provides a concise …
book
Professional Windows® PowerShell
MSH is a new command-line shell for Microsoft server products, including the long-awaited Longhorn server, and …