Synopses & Reviews
This portable reference to Windows PowerShell summarizes both the command shell and scripting language, and provides a concise reference to the major tasks that make PowerShell so successful. It's an ideal on-the-job tool for Windows administrators who don't have time to plow through huge books or search online.
Written by Microsoft PowerShell team member Lee Holmes, and excerpted from his Windows PowerShell Cookbook, Windows PowerShell Pocket Reference offers up-to-date coverage of PowerShell's 1.0 release. You'll find information on .NET classes and legacy management tools that you need to manage your system, along with chapters on how to write scripts, manage errors, format output, and much more.
Beginning with a whirlwind tour of Windows PowerShell, this convenient guide covers:
- PowerShell language and environment
- Regular expression reference
- PowerShell automatic variables
- Standard PowerShell verbs
- Selected .NET classes and their uses
- WMI reference
- Selected COM objects and their uses
- .NET string formatting
- .NET datetime formatting
An authoritative source of information about PowerShell since its earliest betas, Lee Holmes' vast experience lets him incorporate both the "how" and the "why" into the book's discussions. His relationship with the PowerShell and administration community -- through newsgroups, mailing lists, and his informative blog Lee Holmes -- gives him insight into problems faced by administrators and PowerShell users alike.
If you're ready to learn this powerful tool without having to break stride in your routine, this is the book you want.
The only portable, on-the-job reference to Windows PowerShell -- handy for Windows system administrators who number in the hundreds of thousands.
About the Author
Lee Holmes is a developer on the Microsoft Windows PowerShell team and hasbeen an authoritative source of information about PowerShell since its earliestbetas. His vast experience with Windows PowerShell lets him integrate both the"how" and the "why" into discussions. Lee's integration with the PowerShell andadministration community (via newsgroups, mailing lists, and blogs) gives him agreat deal of insight into the problems faced by all levels of administrators andPowerShell users alike.
Table of Contents
Preface; Font Conventions; Comments and Questions; Safari® Books Online; Chapter 1: A Whirlwind Tour of Windows PowerShell; 1.1 Introduction; 1.2 An Interactive Shell; 1.3 Structured Commands (Cmdlets); 1.4 Deep Integration of Objects; 1.5 Administrators As First-Class Users; 1.6 Composable Commands; 1.7 Techniques to Protect You from Yourself; 1.8 Common Discovery Commands; 1.9 Ubiquitous Scripting; 1.10 Ad-Hoc Development; 1.11 Bridging Technologies; 1.12 Namespace Navigation Through Providers; 1.13 Much, Much More; Chapter 2: PowerShell Language and Environment; 2.1 Commands and Expressions; 2.2 Comments; 2.3 Variables; 2.4 Booleans; 2.5 Strings; 2.6 Numbers; 2.7 Arrays and Lists; 2.8 Hashtables (Associative Arrays); 2.9 XML; 2.10 Simple Operators; 2.11 Comparison Operators; 2.12 Conditional Statements; 2.13 Looping Statements; 2.14 Working with the .NET Framework; 2.15 Writing Scripts, Reusing Functionality; 2.16 Managing Errors; 2.17 Formatting Output; 2.18 Capturing Output; 2.19 Tracing and Debugging; 2.20 Common Customization Points; Chapter 3: Regular Expression Reference; Chapter 4: PowerShell Automatic Variables; Chapter 5: Standard PowerShell Verbs; Chapter 6: Selected .NET Classes and Their Uses; Chapter 7: WMI Reference; Chapter 8: Selected COM Objects and Their Uses; Chapter 9: .NET String Formatting; 9.1 String Formatting Syntax; 9.2 Standard Numeric Format Strings; 9.3 Custom Numeric Format Strings; Chapter 10: .NET DateTime Formatting; 10.1 Custom DateTime Format Strings;