Book description
This portable reference to PowerShell summarizes the command shell and scripting language and provides a concise guide to the many tasks that make PowerShell so useful. If you're a busy administrator and don't have time to plow through huge books or in-depth online searches, this is the ideal on-the-job tool.
Written by PowerShell team member Lee Holmes and excerpted from his PowerShell Cookbook, this edition offers up-to-date coverage of Windows PowerShell 5.1 and open source PowerShell Core up to 7 and beyond.
Beginning with a guided tour of 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
- Standard PowerShell verbs
Publisher resources
Table of contents
-
A Guided Tour of 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
- Conventions Used in This Book
- Using Code Examples
- O’Reilly Online Learning
- How to Contact Us
-
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
Product information
- Title: PowerShell Pocket Reference, 3rd Edition
- Author(s):
- Release date: April 2021
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781098101671
You might also like
book
Learn PowerShell Core 6.0
Enhance your skills in expert module development, deployment, security, DevOps, and cloud Key Features A step-by-step …
book
Windows PowerShell Step by Step, Third Edition
Your hands-on guide to Windows PowerShell scripting fundamentals Expand your expertise--and teach yourself the fundamentals of …
book
PowerShell in Depth, Second Edition
PowerShell in Depth, Second Edition is the go-to reference for administrators working with Windows PowerShell. Every …
book
Windows PowerShell Cookbook, 3rd Edition
How do you use Windows PowerShell to navigate the filesystem, manage files and folders, or retrieve …