Books: Windows PowerShell 2


Windows PowerShell™ v2.0

Produce useful PowerShell scripts after the second chapter!

Join the leading edge of Windows administrative scripting with Microsoft PowerShell, the new, comprehensive, consistent, and powerful scripting shell for Microsoft Windows and the Windows Server System. Microsoft's committed to building future graphical administration tools on top of PowerShell, meaning PowerShell will offer the fastest, easiest, and most complete way to automate any Windows administrative task.

This is the most comprehensive and authoritative Windows PowerShell book currently available: You'll not only learn what PowerShell is and how it works, but you'll learn to take PowerShell further using custom type extensions, basic cmdlet development, custom formatting views, .NET Framework development, graphical dialog boxes, and much, much more. A "speed start" helps you get started with PowerShell faster than ever, with explanations based on live class deliveries to more than 1,000 students; coverage of PowerShell's scripting capabilities has been vastly expanded and rewritten to make the subject both easier and more applicable to real-world scenarios. This new edition also includes a jump-start for new and changed features in v2, helping you quickly take advantage of the latest functionality. No other PowerShell book provides this much coverage, with such clear explanations from two recipients of Microsoft's Windows PowerShell MVP award!

Authors Don Jones (Managing Windows with VBScript and WMI, Advanced VBScript for Windows Administrators) and Jeffery Hicks (Managing Active Directory with Windows PowerShell, Advanced VBScript for Windows Administrators) teach you PowerShell scripting from the ground up: You don't need any prior PowerShell, VBScript, or any other scripting or programming experience. You'll learn about cmdlets, snap-ins, scripts, PowerShell's security model, and just enough of the .NET Framework to be effective. Written in an easygoing, casual style with plenty of examples, you'll find yourself producing useful PowerShell scripts after the second chapter!

Revised for PowerShell v2, this all-new edition provides complete coverage of what's new and changed in Windows PowerShell v2.0, bringing you the very latest information available on this exciting new product!

Table of Contents

  • Windows PowerShell Seven-Step Speed Start
  • What's New in PowerShell v2.0
  • Windows PowerShell Architecture and Overview
  • PowerShell Drives
  • Key Cmdlets for Windows Administration
  • The PowerShell Pipeline
  • Cmdlets to Group, Sort, Format, Export, and More
  • Practical Tips and Tricks
  • Graphical PowerShell
  • Background Jobs, Remote Jobs, and Remote Shell
  • PowerShell Command-Line Parsing
  • Working with the PowerShell Host
  • Security Features
  • The Microsoft .NET Framework: An Overview for PowerShell Users
  • Using WMI in Windows PowerShell
  • Using ADSI in Windows PowerShell
  • Scripting Overview
  • Variables, Arrays, and Escape Characters
  • Objects
  • Operators
  • Regular Expressions
  • Loops and Decision Making Constructs
  • Script Blocks, Functions, Filters, Snap-ins, and Modules
  • Error Handling
  • The PowerShell Debugger and Debugging Techniques
  • The PowerShell Data Language and Internationalization
  • PowerShell for VBScript, Cmd.exe, and *nix Users
  • Best Practices for Scripting
  • Managing Files and Folders
  • Managing Systems by Using WMI
  • Managing Services
  • Managing Permissions
  • Managing Event Logs
  • Managing Processes
  • Managing the Registry
  • Managing Directory Services
  • Scope in Windows PowerShell
  • Working with COM Objects
  • Working with XML Documents
  • The PowerShell Extensible Type System
  • Creating Custom Objects
  • Object Serialization
  • Creating Custom Formats
  • Windows Server 2008 R2 PowerShell Features
  • The .NET Framework for Windows Administrators
  • Reading and Writing Information in Databases
  • Working with Windows Forms
  • Working with the Web
  • Creating PowerShell Advanced Functions and Scripts
  • Creating PowerShell Cmdlets and Snap-Ins in the .NET Framework
  • Transactional Operations
  • Working with events

About the Authors

Don Jones has been in the Information Technology industry for more than a decade, and has written more than thirty published books on IT topics. Today, he’s a Windows PowerShell MVP Award recipient and an in-demand speaker at international conferences. Don is a columnist for Microsoft TechNet Magazine and in the past has written for Windows IT Pro and REDMOND magazines, among other publications. He founded ScriptingAnswers.com and continues to be one of the industry’s leading advocates and experts for Windows administrative scripting and automation. Don co-founded Concentrated Technology, where he and Greg Shields deliver concentrated technology education to Windows professionals around the world.

Jeffery Hicks is a multi-year Microsoft MVP in Windows PowerShell and an IT veteran with almost 20 years of experience, much of it spent as an IT consultant specializing in Microsoft server technologies. He works today as an independent author, trainer and consultant. Jeff writes the popular Prof. PowerShell column for MPCMag.com, is a contributor to a number of online scripting communities, and a frequent conference speaker. Throughout his career, Jeff has leveraged the available tools and techniques for automating Windows administration. His experience with a wide range of organizations and technologies provides a wealth of knowledge he is eager to share through teaching, writing, community participation, mentoring and public speaking.