this post was submitted on 23 Jan 2024
193 points (95.7% liked)

Programmer Humor

31800 readers
358 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

Found while doing forensics on some rediscovered loose flash drives.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] ruckblack 63 points 7 months ago (2 children)

I've always been particularly revolted by powershell syntax and utilities

[โ€“] [email protected] 14 points 7 months ago (2 children)

Yes, if it was as object based as it claims, Get-WmiObject would subtract WmiObject from Get. Instead it is like having all the clutchy drawbacks from being object based without reaping any of the potential bemefits.

If you want anything that actually is object based, just use xon.sh - sane and familiar syntax with insane amounts of power just like that

[โ€“] [email protected] 4 points 7 months ago (1 children)

It's from the beginning meant to be fully scripted though. You're not supposed to be putting in these commands manually, it's meant to be used in an environment where the 5-50 commands you or your company needs constantly have aliases and script files defined and on PATH.

[โ€“] ruckblack 11 points 7 months ago (1 children)

I mean, that's great, I hate scripting in powershell too though lol.

[โ€“] [email protected] 2 points 7 months ago

Fair, as do I honestly. ๐Ÿ˜