890
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 25 Oct 2023
890 points (90.8% liked)
Programmer Humor
32503 readers
496 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
People tend to hate on PowerShell but it's cross-platform these days, and far easier to write than shell scripts once you understand the syntax.
You can pipe objects between functions, rather than just string streams like in Bash. Often there's no
cut
,sed
,grep
, etc needed as what you want is probably a property on an object.It's not just a basic scripting language like Bash. It's built on top of .NET, so most of things you can do in C#, you can also do in PowerShell (and if not, you can call into C# code).
It's especially popular for administration of Windows systems - if there's anything you want to do on a Windows system, it's likely there's a PowerShell module for it.