The Big Book of PowerShell Gotchas
Search
⌃K
ReadMe
About this Book
Format Right
Where is the __ command?
PowerShell.exe isn't PowerShell
Accumulating Output in a Function
ForEach vs ForEach vs ForEach
Tab Complete!
-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
These Aren't Your Father's Commands
A Crowd isn't an Individual
Commands' Default Output Can Lie
Properties vs. Values
Remote Variables
New-Object PSObject vs. PSCustomObject
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
Powered By GitBook

ReadMe

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 you figure them out and avoid them.
Next
About this Book
Last modified 4yr ago
Copy link