Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
The count returns 19, my if statement is looking for anything greater than 0. Sitting here wondering why it's not working for 3 damn minutes then I remember this (https://learn.microsoft.com/en-us/...)
I can't do $variable.count > 0
I have to do $varibale.count -gt 0
: | I like powershell, it's useful for simple small things in windows
Then things like this make me wish I wasn't on windows for work
Happens every damn time, especially after working with any other language we use, i just forget PowerShell likes to be 'special'
rant