PowerShell can be wonderfully helpful right up until the string 'false' pretends to be true. This PoshBytes short walks through why if($value) is not the same as if($value -eq $true) and when that difference matters.

| Verification | https://www.dowst.dev/about-me/ |
| Blog | https://www.dowst.dev/ |
| PowerShell Weekly | https://psweekly.dowst.dev/ |
| Book | https://www.manning.com/books/practical-automation-with-powershell |
PowerShell can be wonderfully helpful right up until the string 'false' pretends to be true. This PoshBytes short walks through why if($value) is not the same as if($value -eq $true) and when that difference matters.

Ever spent time fighting Word formatting that refuses to behave?
In this PoshBytes episode I show an example of how PowerShell can automate Word. Because sometimes scripting around the problem is easier than solving it manually.

PowerShell objects are not just data. They can DO things.
In this week’s PoshBytes: What the Method, I break down what methods are, how to call them, and how to find them using Get-Member.
Stop guessing. Start discovering.
# PowerShell #Automation #Scripting #DevOps

Your Sort-Object is not broken. Your data type is.
New PoshBytes covers:
• Numeric strings vs real numbers
• Use expressions inside Sort-Object
• Keep your original data intact
https://youtube.com/shorts/1ZXM3XDo2-E
# PowerShell #Automation #Scripting #DevOps

Is your item contained or in an array? If your PowerShell membership check keeps failing, you might have it backwards. New PoshBytes explains it clearly in under 90 seconds.
