Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

PowerShell for Programmers: What happened to my operators?

Operators are one of the most frustrating things about learning PowerShell if you’re coming from just about any other language in existence. Operators like ==, <=, !=. etc. are almost ubiquitous in programming, but none of them are supported in PowerShell. This can lead to some pretty frustrating errors with things like If statements. ...