this post was submitted on 23 Jan 2024
201 points (95.5% liked)

Programmer Humor

32483 readers
285 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
[โ€“] [email protected] 60 points 9 months ago (2 children)

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

[โ€“] [email protected] 12 points 9 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

[โ€“] Carighan 5 points 9 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.

[โ€“] [email protected] 11 points 9 months ago (1 children)

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

[โ€“] Carighan 2 points 9 months ago

Fair, as do I honestly. ๐Ÿ˜