Windows-PowerShell-Pocket-Reference.pdf

(579 KB) Pobierz
Windows PowerShell Pocket Reference
by Lee Holmes
Publisher: O'Reilly
Pub Date: May 20, 2008
Print ISBN-13: 978-0-596-52178-3
Pages: 174
Windows PowerShell Pocket Reference
by Lee Holmes
Publisher: O'Reilly
Pub Date: May 20, 2008
Print ISBN-13: 978-0-596-52178-3
Pages: 174
Table of Contents
| Index
Table of Contents
| Index
Overview
Overview
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:
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
PowerShell language and environment
Regular expression reference
Regular expression reference
PowerShell automatic variables
PowerShell automatic variables
Standard PowerShell verbs
Standard PowerShell verbs
Selected .NET classes and their uses
Selected .NET classes and their uses
WMI reference
WMI reference
Selected COM objects and their uses
Selected COM objects and their uses
.NET string formatting
.NET string formatting
.NET datetime 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.
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.
804770949.049.png 804770949.050.png 804770949.051.png 804770949.052.png 804770949.001.png 804770949.002.png 804770949.003.png 804770949.004.png 804770949.005.png 804770949.006.png 804770949.007.png 804770949.008.png 804770949.009.png 804770949.010.png 804770949.011.png 804770949.012.png 804770949.013.png 804770949.014.png 804770949.015.png 804770949.016.png 804770949.017.png 804770949.018.png 804770949.019.png 804770949.020.png 804770949.021.png 804770949.022.png 804770949.023.png 804770949.024.png 804770949.025.png
 
804770949.026.png 804770949.027.png 804770949.028.png 804770949.029.png
Windows PowerShell Pocket Reference
by Lee Holmes
Publisher: O'Reilly
Pub Date: May 20, 2008
Print ISBN-13: 978-0-596-52178-3
Pages: 174
Table of Contents
| Index
Copyright
Preface
Chapter 1. A Whirlwind Tour of Windows PowerShell
Section 1.1. Introduction
Section 1.2. An Interactive Shell
Section 1.3. Structured Commands (Cmdlets)
Section 1.4. Deep Integration of Objects
Section 1.5. Administrators As First-Class Users
Section 1.6. Composable Commands
Section 1.7. Techniques to Protect You from Yourself
Section 1.8. Common Discovery Commands
Section 1.9. Ubiquitous Scripting
Section 1.10. Ad-Hoc Development
Section 1.11. Bridging Technologies
Section 1.12. Namespace Navigation Through Providers
Section 1.13. Much, Much More
Chapter 2. PowerShell Language and Environment
Section 2.1. Commands and Expressions
Section 2.2. Comments
Section 2.3. Variables
Section 2.4. Booleans
Section 2.5. Strings
Section 2.6. Numbers
Section 2.7. Arrays and Lists
Section 2.8. Hashtables (Associative Arrays)
Section 2.9. XML
Section 2.10. Simple Operators
Section 2.11. Comparison Operators
Section 2.12. Conditional Statements
Section 2.13. Looping Statements
Section 2.14. Working with the .NET Framework
Section 2.15. Writing Scripts, Reusing Functionality
Section 2.16. Managing Errors
Section 2.17. Formatting Output
Section 2.18. Capturing Output
Section 2.19. Tracing and Debugging
Section 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
Section 9.1. String Formatting Syntax
Section 9.2. Standard Numeric Format Strings
Section 9.3. Custom Numeric Format Strings
Chapter 10. .NET DateTime Formatting
Section 10.1. Custom DateTime Format Strings
Index
804770949.030.png 804770949.031.png 804770949.032.png 804770949.033.png 804770949.034.png 804770949.035.png 804770949.036.png
 
804770949.037.png 804770949.038.png 804770949.039.png 804770949.040.png 804770949.041.png
Copyright
Copyright © 2008, O'Reilly Media. All rights reserved.
Published by O'Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O'Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also
available for most titles ( http://safari.oreilly.com ) . For more information, contact our corporate/institutional
sales department: (800) 998-9938 or corporate@oreilly.com .
Nutshell Handbook, the Nutshell Handbook logo, and the O'Reilly logo are registered trademarks of O'Reilly
Media, Inc. The Pocket Reference series designations, Windows PowerShell Pocket Reference , the image of a box
turtle, and related trade dress are trademarks of O'Reilly Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as
trademarks. Where those designations appear in this book, and O'Reilly Media, Inc. was aware of a trademark
claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and author assume no
responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.
804770949.042.png 804770949.043.png 804770949.044.png 804770949.045.png 804770949.046.png 804770949.047.png 804770949.048.png
Zgłoś jeśli naruszono regulamin