A late Christmas gift for everyone, Keith Hill has turned a set of blog posts into an 61 pages long PowerShell ebook.
Download your own copy here.
Table of content:
- Introduction
- Item 1: Four Cmdlets that are the Keys to Discovery within PowerShell
- Key #1: Get-Command
- #2: Get-Help
- Key #3: Get-Member
- Key #4: Get-PSDrive
- PowerShell 2.0 Update
- Item 2: Understanding Output
- Output is Always a .NET Object
- Function Output Consists of Everything That Isn't Captured
- Other Types of Output That Can't Be Captured
- Item 3: Know What Objects Are Flowing Down the Pipeline
- Item 4: Output Cardinality - Scalars, Collections and Empty Sets - Oh My!
- Working with Scalars
- Working with Collections
- Working with Empty Sets
- Item 5: Use the Objects, Luke. Use the Objects!
- Item 6: Know Your Output Formatters
- Item 7: Understanding PowerShell Parsing Modes
- Item 8: Understanding ByPropertyName Pipeline Bound Parameters
- Item 9: Understanding ByValue Pipeline Bound Parameters
- Item 10: Error Handling
- Terminating Errors
- Non-terminating Errors
- Error Variables
- Working with Non-Terminating Errors
- Handling Terminating Errors
- Trap Statement
- Try / Catch / Finally
- Item 11: Regular Expressions - One of the Power Tools in PowerShell
- PowerShell 2.0 Update
- Item 12: Comparing Arrays
- Item 13: Use Set-PSDebug -Strict In Your Scripts – Religiously
- PowerShell 2.0 Update
- Item 14: Commenting Out Lines in a Script File
- PowerShell 2.0 Update
- Item 15: Using the Output Field Separator Variable $OFS