|
|
|
|
|
by cjsuk
3205 days ago
|
|
PowerShell is one of the few bits of software which has actually made me throw a computer in anger. The idea has potential but the implementation is just bad. It's slow (I have to wait 5-10 second and before it responds on an i7?!?), inconsistent (some things return local time and some UTC), unreliable (it will just fail randomly after working for two months), has terrible memory usage problems (try copying a large file with it via WinRM), has a terrible scheduling and security model (scheduling something that actually doesn't barf with errors is difficult), spooges out UTF16 randomly, and is full of nasty surprises which are constantly lurking waiting to bite your face off. It is entirely the opposite of what I want from a language of any kind. That man owes me at least 3 months of my life back. The lure is a few one liners work pretty well to start with but the moment they turn into two liners then problems start but you're invested in it then and it's too late. I use python for automation now. No such problems. |
|
The one thing I do like is I can make assumptions about how the scripting language works - like writing a if-statement for instance. This lets me write simple scripts pretty fast. Especially compared to bash which tends to be quite quirky and requires a lot of checking docs.