The Big Book of PowerShell Gotchas

The Big Book of PowerShell Gotchas

The DevOps Collective, Inc.
Buy on Leanpub

Table of Contents

The Big Book of PowerShell Gotchas

  • The Big Book of PowerShell Gotchas
  • Format right
  • Where is the ____ Command? I’ve Installed the Latest Version of PowerShell and Can’t Find it!
  • PowerShell.exe isn’t PowerShell
  • Accumulating Output in a Function
  • ForEach vs ForEach vs ForEach
  • Tab Completion
  • -Contains isn’t -Like
  • You Can’t Have What You Don’t Have
  • -Filter Values Diversity
  • Not Everything Produces Output
  • One HTML Page at a Time, Please
  • [Bloody] {Awful} (Punctuation)
  • Don’t+Concatenate+Strings
  • $ isn’t Part of the Variable Name
  • Use the Pipeline, not an Array
  • Backtick, Grave Accent, Escape
  • A Crowd isn’t an Individual
  • These aren’t Your Father’s Commands
  • Properties vs. Values
  • Remote Variables
  • New-Object PSObject vs. PSCustomObject
    • New-Object PSObject in v1.0
    • New-Object in PS 2.0
    • PSCustomObject in PowerShell v3.0
  • Running Something as the “Currently Logged-in User”
  • Commands that Need a User Profile May Fail When Run Remotely
  • Writing to SQL Server
  • Getting Folder Sizes
The Big Book of PowerShell Gotchas/overview

The Big Book of PowerShell Gotchas

course_overview

PowerShell is full of "gotchas" - little things that just get in your way and are hard to figure out on your own. This short book is intended to help.

count_chapters
begin_reading
download
p_implied_book_part_name

The Big Book of PowerShell Gotchas26 chapters

Begin ›
  1. The Big Book of PowerShell Gotchas

  2. Format right

  3. Where is the ____ Command? I’ve Installed the Latest Version of PowerShell and Can’t Find it!

  4. PowerShell.exe isn’t PowerShell

  5. Accumulating Output in a Function

  6. ForEach vs ForEach vs ForEach

  7. Tab Completion

  8. -Contains isn’t -Like

  9. You Can’t Have What You Don’t Have

  10. -Filter Values Diversity

  11. Not Everything Produces Output

  12. One HTML Page at a Time, Please

  13. [Bloody] {Awful} (Punctuation)

  14. Don’t+Concatenate+Strings

  15. $ isn’t Part of the Variable Name

  16. Use the Pipeline, not an Array

  17. Backtick, Grave Accent, Escape

  18. A Crowd isn’t an Individual

  19. These aren’t Your Father’s Commands

  20. Properties vs. Values

  21. Remote Variables

  22. New-Object PSObject vs. PSCustomObject

  23. Running Something as the “Currently Logged-in User”

  24. Commands that Need a User Profile May Fail When Run Remotely

  25. Writing to SQL Server

  26. Getting Folder Sizes