Books & Videos

Table of Contents

  1. Chapter 1 Introduction

    1. This Is Just the Beginning

    2. Why Use PowerShell

    3. There’s a New Game in Town

    4. An Underutilized Development Tool

  2. Chapter 2 Getting Started

    1. Installing PowerShell

    2. Interactivity, the Key to PowerShell

    3. Running a PowerShell Script

    4. PowerShell ISE

    5. Other PowerShell Editors

    6. PowerShell and Visual Studio

    7. The PowerShell Community

    8. The Future of PowerShell on Windows 8

    9. Summary

  3. Chapter 3 The Dime Tour

    1. The Object Pipeline: The Game Changer

    2. Automation References

    3. Semicolons

    4. Return Statements

    5. Datatypes

    6. Exception Handling

    7. Quoting Rules

    8. PowerShell Subexpressions in Strings

    9. Here-Strings

    10. Closures, Functions, and Lambdas

    11. Arrays

    12. Parentheses and Commas

    13. Hash Tables

    14. Get-Member

    15. Inject a GUI into the PowerShell Command Line

    16. New-Object

    17. Add-Member

    18. Add-Type

    19. “What Does % Do?” and Other Aliases

    20. Modules

    21. Summary

  4. Chapter 4 Accelerating Delivery

    1. Scanning for const Definitions

    2. Working with Template Engines

    3. Generating PowerShell Functions from C# Methods

    4. Calling PowerShell Functions from C#

    5. Overriding C# Methods with PowerShell Functions

    6. Summary

  5. Chapter 5 Add PowerShell to Your GUI

    1. Embedding PowerShell in your C# Application

    2. Beaver Music Application

    3. Getting the PowerShell Console in Your App

    4. Summary

  6. Chapter 6 PowerShell and the Internet

    1. Net.WebClient

    2. Wrapping Code in a PowerShell Function

    3. Reading XML-Formatted Data from the Web

    4. Invoke-RestMethod

    5. PowerShell and The New York Times Semantic API

    6. New-WebServiceProxy

    7. Invoke-WebRequest

    8. Summary

  7. Chapter 7 Building GUI Applications in PowerShell

    1. Why a Chapter About GUIs?

    2. PowerShell and WinForms

    3. PowerShell, ShowUI, and the Twitter API

    4. A Twitter GUI Application

    5. ShowUI Video Player

    6. Summary

  8. Chapter 8 DLLs, Types, Properties, Methods, and Microsoft Roslyn

    1. Sending Text to the Clipboard

    2. Transcoding C# to PowerShell

    3. Microsoft’s Roslyn

    4. Using PowerShell to Display Visual Studio Detail

    5. Roslyn’s Document Methods

    6. PowerShell Roslyn Class Viewer

    7. Summary

  9. Chapter 9 Writing Little Languages in PowerShell

    1. Adding a New Construct to PowerShell

    2. PowerShell: A Better XML

    3. The Little Language in Action

    4. Graphviz

    5. Mix and Match PowerShell and GraphViz

    6. Summary

  10. Chapter 10 PowerShell, COM, and More

    1. Opening a File in Excel Using Invoke-Item

    2. Calling an Excel Function

    3. Discovering Available Excel Functions

    4. Automating Excel from PowerShell

    5. Discovering Other COM Applications to Automate

    6. Summary

  11. Chapter 11 PowerShell Version 3

    1. PowerShell Workflows

    2. Using PowerShell with Web Data: Converting to and from JSON

    3. Creating an Instance of a Microsoft .NET Framework Object

    4. Get-Content –Tail

    5. ISE v3

    6. Out-GridView and the -PassThru Parameter

    7. Scheduling Jobs

    8. Invoke-WebRequest and Invoke-RestMethod

    9. PowerShell v3 Items That Are a Must-See

    10. Summary

  1. Appendix Productive PowerShell

    1. Getting Automation Approved

    2. Saving Time with Automation

    3. Adding Aliases to Your PowerShell Profile

    4. Adding Variables and Functions to Your PowerShell Profile

    5. Remote Desktop Connection

    6. Starting Another PowerShell Session

    7. Using PowerShell’s Tokenizer

    8. PowerShell and Older Tools

    9. Faster, Faster—The Light Is Turning Red

    10. Summary

  2. Appendix Running PowerShell with the .NET 4.0 Runtime