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
Deciphering Data Architectures
Data fabric, data lakehouse, and data mesh have recently appeared as viable alternatives to the modern …
book
Fluent React
When it comes to building user interfaces on the web, React enables web developers to unlock …
book
Generative Deep Learning, 2nd Edition
Generative AI is the hottest topic in tech. This practical book teaches machine learning engineers and …
book
C# Cookbook
Even if you're familiar with C# syntax, knowing how to combine various language features is a …