THE book on PowerShell, it has ALL the secrets.
Windows PowerShell in Action was written by Bruce Payette, one of the founding members of the Windows PowerShell team, co-designer of the PowerShell language and the principal author of the PowerShell language implementation. From him you will gain a deep understanding of the language and how best to use it, and you'll love his insights into why PowerShell works the way it does.
about this book
Part 1 Learning PowerShell
1. Welcome to PowerShell
1.1. What is PowerShell?
1.2. Soul of a new language
1.3. Brushing up on objects
1.4. Dude! Where’s my code?
2. The basics
2.1. Command concepts and terminology
2.2. Parsing and PowerShell
2.3. Pipelines and commands
2.4. Formatting and output
3. Working with types
3.1. Type management in the wild, wild west
3.2. Basic types and literals
3.3. Type conversions
4. Operators and expressions
4.1. Arithmetic operators
4.2. The assignment operators
4.3. Comparison operators
4.4. The pattern matching operators
4.5. Logical and bitwise operators
5. Advanced operators and variables
5.1. Operators for working with types
5.2. The unary operators
5.3. Grouping, subexpressions, and array subexpressions
5.4. Array operators
5.5. Property and method operators
5.6. The PowerShell format operator -F
5.7. Redirection and the redirection operators
6. Flow control in scripts
6.1. Using the if/elseif/else statement
6.2. The while loop
6.3. The do/while loop
6.4. The for loop
6.5. The foreach loop
6.6. Labels, break, and continue
6.7. The PowerShell switch statement
6.8. Flow control using cmdlets
6.9. The value of statements
7. Functions and scripts
7.1. Function basics
7.2. Formal parameters and the param statement
7.3. Returning values from functions
7.4. Using functions in a pipeline
7.5. Managing functions
7.6. Scripts at long last
8. Scriptblocks and objects
8.1. Scriptblock basics
8.2. Building and manipulating objects
8.3. A closer look at the type-system plumbing
8.4. Extending the PowerShell language
8.5. Type extension
8.6. Building code at runtime
9. Errors, exceptions, and script debugging
9.1. Error handling
9.2. Dealing with errors that terminate execution
9.3. Script debugging
9.4. Nested prompts and breakpoints
9.5. Low-level tracing
9.6. The PowerShell event log
Part 2 Using PowerShell
10. Processing text, files, and XML
10.1. Processing unstructured text
10.2. File processing
10.3. XML processing
11. Getting fancy—.NET and WinForms
11.1. Using .NET from PowerShell
11.2. PowerShell and the Internet
11.3. PowerShell and graphical user interfaces
12. Windows objects: COM and WMI
12.1. Working with COM in PowerShell
12.2. Working with WMI in PowerShell
12.3. So which object model should I choose?
13. Security, security, security
13.1. Introduction to security
13.2. Security modeling
13.3. Securing the PowerShell environment
13.4. Signing scripts
13.5. Writing secure scripts
Appendix A: Comparing PowerShell to other languages
Appendix B: Admin Examples
Appendix C: The PowerShell grammar
About the Technology
Windows has an easy-to-use interface, but if you want to automate it, life can get hard. That is, unless you use PowerShell, an elegant new dynamic language from Microsoft designed as an all-purpose Windows scripting tool. PowerShell lets you script administrative tasks and control Windows from the command line. Because it was specifically developed for Windows, programmers and power-users can now do things in a shell that previously required VB, VBScript, or C#.
About the book
This book is a tutorial for sysadmins and developers introducing the PowerShell language and its environment. It shows you how to build scripts and utilities to automate system tasks or create powerful system management tools to handle the day-to-day tasks that drive a Windows administrator's life. It's rich in interesting examples that will spark your imagination. The book covers batch scripting and string processing, COM, WMI, and even .NET and WinForms programming.
- Master the PowerShell language
- Secure scripting with PowerShell
- How to process strings, files, and XML
- Techniques for network and GUI programming
- Script Windows applications like Excel
- Author feedback at manning.com/payette
placing your order...Don't refresh or navigate away from the page.
Bruce is a walking encyclopedia of every good, bad, solid, and wacky language idea that has been tried... This is a book that only Bruce could have written.
If all it had going for it was the authoratative pedigree of the writer, it might be worth it, but it's also well-written, well-organized, and thorough, which I think makes it invaluable as both a learning tool and a reference.
[It gives you] inside information, excellent examples, and a colorful writing style.
The nuances of PowerShell from the lead language designer himself! Excellent content and easy readability!
I love this book!
There's no better way to learn PowerShell than from someone on the core PowerShell team - and that's exactly what you get with this book.