PowerShell replaces cobbled-together assemblies of third-party management tools with an elegant programming language and a powerful scripting shell for the Windows environment. In the tradition of Manning's ground breaking "In Action" series, this book comes from right from the source. Written by Bruce Payette, one of principal creators of PowerShell, Windows PowerShell in Action 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. Because it's based on the .NET platform, PowerShell is also a powerful tool for developers and power users.
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. The book enables you to get the most out of the PowerShell environment. Using many examples, both small and large, this book illustrates the features of the language and environment and shows how to compose those features into solutions, quickly and effectively.
This book is designed for anyone who wants to learn PowerShell and use it well. Rather than simply being a book of recipes to read and apply, this book gives you the deep knowledge about how PowerShell works and how to apply it.
Die Inhaltsangabe kann sich auf eine andere Ausgabe dieses Titels beziehen.
PowerShell in Action
Part I - Learning PowerShell This comprehensive tour of the PowerShell language and runtime introduces the language and offers a deep insight into how and why things are the way they are. Part I, covers the PowerShell language including the syntax, the type system with examples showing how each feature works.
Chapter 1-PowerShell history and a quick tour of the features of the environment.
Chapter 2-PowerShell concepts you'll need to put PowerShell to work.
Chapter 3-The PowerShell type system and its relationship to .NET.
Chapter 4-Operators and expressions including basic arithmetic, comparison and assignment, wildcard and regular expression pattern matching.
Chapter 5-Operations for working with arrays (indexing, slicing) and objects (properties and methods, output redirection, the formatting operator and PowerShell variables.
Chapter 6-PowerShell language constructs like if statement and loops.
Chapter 7-Programming in PowerShell, including functions and scripts and variable scoping.
Chapter 8-Object construction and extensions, Scriptblocks and how to extend the PowerShell language.
Chapter 9-Error handling and debugging.
Part II looks at applying PowerShell in specific technology areas and problem domains.
Chapter 10-Text processing such as basic string processing, file processing (including handling binary files) and working with XML documents.
Chapter 11-Locating, exploring and instantiating types in the .NET framework including generic types with applications including network programming and WinForms.
Chapter 12-Using the application automation models to script Microsoft Word, WMI from the command line and in scripts to inspect, update and manage a Windows system, and VBScript interaction.
Chapter 13-Security, security, security.
From the Author:
Wow, I wrote a book. One moment you're a humble programming language designer and the next you're up until 2:00AM every night trying to figure out how to say "and in the next example" 500 times without being boring.
So why write it? Mostly because of PowerShell. Although PowerShell draws heavily from existing technologies, it combines them in some very novel ways. This kind of novelty leads to misunderstandings. As we showed our work to the world I found that there were a number of questions that were being asked over and over again. These questions would usually arise as a result of some prior language experience that the user had. There needed to be a way to gather this information altogether in one place.
It's astonishing was how much power comes out of the synergy of the various technologies underlying PowerShell. The PowerShell team would read people's blogs and be astonished by the creativity that was being demonstrated. This book tries to foster that creativity by conveying just how capable the PowerShell is.
And finally, this is the book I wanted to read. I love programming languages and the best books are the ones that explain not only "what" but also "why". These books give the reader something more that just technical detail. They convey a sense of the overall design and some element of the intent of the designer.
Learn PowerShell, be creative and above all, have fun.
„Über diesen Titel“ kann sich auf eine andere Ausgabe dieses Titels beziehen.