this post was submitted on 09 Feb 2024
112 points (94.4% liked)

Programming

17394 readers
717 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] DV8@lemmy.world 6 points 9 months ago (2 children)

Command line stuff on Windows (server) is in a pretty decent state now, imo. It's not perfect but more and more is manageable with powershell. It took some time to really grok that you're basically always working with objects but I'm a big fan and now quite dislike having to deal with just "text" output when I do something in Linux. (Probably also because I need to do a lot less in it so I'm not used to it as much)

Personally again I also like the naming scheme much more than how it's done in bash. If I need to do something I don't know I can search the command by using logical words. E.g. I want to change the properties of a service but don't know the command by heart I can use

Get-Command service

And I'll get a list of all commands that contain the word service.

When it comes to admin privileges you simply have the privileges of the account you used to start the session, which has its' own dangers I suppose since it requires you to maintain account hygiene yourself.

[–] LPThinker@lemmy.world 4 points 9 months ago* (last edited 9 months ago) (1 children)

If you dig the structured output of powershell, you might want to check out Nushell. It’s a cross-platform shell that builds on powershell’s structured data approach but is much less verbose and, in my opinion, more intuitive than both powershell and Posix shells.

[–] DV8@lemmy.world 2 points 9 months ago

Thanks, will check that out.