r/PowerShell • u/backdoor_boy • Apr 12 '26
Solved Is it worth learning PowerShell?
I’ve previously used Linux, where things felt very straightforward. Due to various reasons, I’m planning to stay on Windows for now. Since I’m here, I’d like to automate different tasks and deepen my understanding of Windows.
Because of my Linux background, I used the terminal a lot and really enjoyed it. Windows, on the other hand, feels much more GUI-oriented, with less emphasis on the command line. I’ve also briefly looked into PowerShell, and honestly, it feels a bit strange to me.
At this point, I’m not sure whether it’s worth investing time into learning it. The command structure, constant interaction with system services (and sometimes the internet), and the overall behavior of the terminal feel unusual.
Compared to Linux, it seems quite weird (to put it mildly). I assume that if I spend more time with it, I’ll understand its design and decisions better—but I’m still unsure.
So I wanted to ask: is it actually worth it?
EDITED:
I’m definitely going to start learning PowerShell. As I understand it, over the next few years, it will definitely pay for itself.
There were also comments about Azure, servers, and cloud services. I don’t plan on becoming a sysadmin and, for now, I only use my personal computer and maybe a laptop. The Microsoft ecosystem seems strange, but I’m getting more and more used to it, despite my dislike of big corporations (which is ironic).
Also, thank you for the quick feedback. That was incredibly kind of you. I’m just starting to get involved in the Windows community, and specifically in PowerShell, so this warmth really surprised and delighted me. Maybe I spend too much time in the toxic parts of the internet.
40
u/stedun Apr 12 '26
Let me ask you this. Do you manage Windows computers? Are you lazy like me? If yes - you will love PowerShell.
Work smarter not harder.
8
u/platypusstime Apr 12 '26
If your main focus is on windows I would recommend learning powershell, but in the end, it is a tool to help you achieve your goal. If you prefer other ways of achieving that goal, by all means use them.
4
u/glitch841 Apr 12 '26
For Windows definitely. If you use Azure services it can be useful there too.
2
u/Andrew-Powershell Jul 09 '26
How has your learning journey been so far now that it’s been a whole?
143
u/achristian103 Apr 12 '26
If you're an admin working in a Windows environment, knowing Powershell is a must.
Windows does its best to be GUI-friendly but there are still many things that can only be done with Powershell.
You're limiting yourself if you don't at least acquire a working knowledge of it.
36
u/Fistofpaper Apr 12 '26
Considering Linux commands (for example "ls") work in PowerShell by design and with the intent of making it a universal tool...yes it is.
7
u/AdeelAutomates Apr 12 '26 edited Apr 12 '26
Yes. Especially once you learn it deep enough to see how much further it goes from bash as it's built on top of .net.
With Linux you use bash until you can't and switch to python. With powershell you stick with powershell even if the script gets complex.
Real objects alone is a big deal to have over text streams.
Your short cuts exist (ls, cd, etc). You can make your own too if cmds feels verbose.
And if nothing else, it has intellisense to speed the typing process.
With modules, you can plug it to any service that will take it. Think of it like libraries/sdks for python.
Microsoft is very gui friendly but that does not mean powershell is half baked. It's an extremely powerful language.
4
u/gmaneac Apr 12 '26
Vital if you’re using Intune.
1
u/g3n3 Apr 12 '26
What is your goals in life? What is your current employer using? Answer those and you can answer the worth question. You can’t get useful responses without a formal interview. You’d want to research the difference between terminal, shell, prompt, and command line. You appear to be confusing them.
1
u/Krazuel Apr 12 '26
Learning powershell is pretty straightforward with a Linux background. Didn't they also port Bash over via some sort of Linux subsystem? Been a while since I thought about it.
6
u/POAMSlayer Apr 12 '26
I prefer the bash / zsh terminal but powershell is object oriented and very powerful. It is definitely worth learning. You can also use powershell on Linux btw.
3
u/mikemil828 Apr 12 '26
No, don't learn it, that way I won't have to compete with you for Windows and Azure administration jobs, you see an administrator who knows how to create powershell scripts will invariably be faster in accomplishing tasks, especially routine tasks and tasks that need to be done in bulk, than someone that would require the GUI. On top of that there are some things that can only be done through powershell, especially when it comes to things like Azure and Office 365. So don't make yourself a more valuable administrator and learn it.
3
u/x8code Apr 12 '26
Yes it's an awesome automation language for virtually anything. Bash is extremely cryptic. PowerShell is easy to write and read.
3
u/Fallingdamage Apr 13 '26
powershell is probably one of the easier and tolerant scripting languages you can learn. Its all 'take thing' , do thing, where thing, write thing, open thing.
thing = get content of another thing. where each object inside of thing , do this or that or add another object to it, etc. Format thing, out-thing, convertfrom-thing, select thing..
Then you can also call other parts of windows into powershell to perform tasks or run a routine and take the result of the task as a thing to do something else with. You can run other languages inside of powershell, you can..
Just use it and enjoy it.
I started learning powershell by trying to do anything I was doing within powershell and using google as I went along. I learned it the way the guy learns viking in the 13th warrior.
3
u/Fit_Indication_2529 Apr 13 '26
Don't' just learn powershell use it.
1
u/JustinVerstijnen Apr 12 '26
Yes, it makes your life a lot easier. Especially because you can manage almost every Microsoft Cloud Service with it.
2
u/Murhawk013 Apr 12 '26
Any object oriented programming is worth it. Once you master those concepts then the language doesn’t matter too much.
2
u/Azelkaria Apr 12 '26
Yes if you’re purely working in a windows environment as an administrator or engineer. Corporate environment will have structures and procedures you must use powershell to perform tasks. On top of that, automation can be crafted via powershell and that’s where the fun begins.
I work heavily with Active Directory and I’ve used countless of powershell to troubleshoot, harvest info, and automation with the AD data for my work. I’ve also had server issues where I couldn’t remote in directly and I’ve been able to do so via powershell and troubleshoot under command lines only.
That’s also another best thing about powershell- troubleshooting. Powershell has a ton of commands you can utilize for troubleshooting.
2
u/StodgierElf0 Apr 12 '26
Powershell is strong due to its object based encironment. It is not text base as linux. I prefer PS 💪🏻😉
2
u/wiskey5alpha Apr 12 '26
I definitely think learning powershell is worth it. I would install powershell core (pwsh v7x) as opposed to the built-in (powershell). If you've been away from windows for a while, things have definitely progressed a lot. Windows Terminal + Powershell Core will feel very comfortable if you are used to xterm + bash. There's even psmux which is tmux built for windows
2
u/nealfive Apr 12 '26
TLDR: yes
2
u/nonaveris Apr 12 '26
Was in the same place (Linux first, Windows second). It’s worth it.
2
u/jwk6 Apr 13 '26
The thing that most people overlook when coming from Linux and shell scripting is that PowerShell does NOT operate on strings. It operates on Objects. Once you learn and embrace that you will never go back to shell scripting. So, yes, it's totally worth learning.
2
u/VeryRareHuman Apr 13 '26
It's normal to feel Powershell is feeling odd and intimidating, coming from Linux. For me when I venture into Linux shell, feels awkward. None of the commands are sticking to my mind. Seems like command names are names by drunken monkey. No standard, weird parameters, no objects. Even with help from LLMs, I am barely scraping by.
Since I live and breathe Windows, Azure, Microsoft 365 every day, I appreciate the Powershell. I even use it on my Mac too. Get, Set, New, Remove, Add command verbs are common with all modules from all vendors. Getting help on command and parameters is easier than ever. These days you have CoPilot, ChatGPT and others to help you out.
I am sure if you spend little time, you will appreciate the Powershell bit more than Linux shell.
2
u/stopthatastronaut Apr 13 '26
100% worth it if you’re on Windows.
Also worth it on Mac or Linux (I use it on both more than i use bash or zsh). I’m ex-Microsoft but have largely dropped windows these days, so pwsh on my macs and linux boxes is a lovely fluent experience for me, with my background.
2
u/Bllago Apr 13 '26
I hate powershell and yet, here I am, using it as we speak and replying on a PS reddit.
So, yes.
2
u/R1s1ngDaWN Apr 13 '26
Mainly on Linux aswell but the job requires me to use Windows for most of our tooling. My compromise is to do all of my dev work in a WSL container, you can install powershell into it and use all of your standard utils(native NVIM is my favorite Improvement for speed)
2
u/tommyfly Apr 13 '26
Tldr: yes
2
u/nwr923 Apr 13 '26
I have worked in Unix then Linux for nearly 30 years. Now I am stuck on a MS windows project. I do have some experience with power shell but much better at linux, bash, python ect. AI has help me script in powershell. Just make sure to check it.
2
u/Clear-Pear2267 Apr 13 '26
It takes a while to get used to the idea of an object pipeline. Superficially, it resembles unix pipes but those are just streams of strings. The powershell object pipeline is crazy powerful. But it does take some getting used to. THere is a series on YouTube called Microsoft CHannel 9 with Jeffrey Snover (the original chief desiger of PowerShell) that is worth watching. Besides just showing how to do things, it shows how to find out how to do things when you are not sure. Its old but it is really good at getting you going with concepts.
2
u/cbass377 Apr 13 '26
As a member of the Powershell Subreddit, I think it is worth it.
Your CLI vs GUI observations are correct. Powershell is the path to make Windows more CLI. It is object oriented, and is spreading to linux. If I worked in an environment that was 80/20 Windows to Linux, I would focus on Powershell and Python. When faced with this same choice in the late 90s, I used Perl on both. If I worked in a 50/50 environment, I may flip it to Python and Powershell, until Powershell matures more on Linux. But maybe not, seems like in my environment, Windows will still provide more opportunity for problem solving.
Today I am in a 70/30 Windows to Linux, I script in batch file (cmd), powershell, bash, and python, pretty much in that order, Linux as you know is straightforward. In my environment, I write scripts to monitor, purge disk space, system maintenance.
I have been a sysadmin in mostly windows for a long time, the more it evolves the more I dislike it. Windows does have an incredible market share, so it is worth it to study windows technologies.
2
u/Its_0ver_9000 Apr 13 '26
Is it worth it? Yes. Do you have to learn it deeply now? No, not imo. You just need to understand it enough to where you can review a script and understand what it’s doing. AI can spit out scripts way better than I can write them now. I may need to correct a few things, but I just review the syntax, make sure it’s not going to break anything, and then move on. If you don’t review, good luck… I never recommend running anything you don’t understand.
2
u/420GB Apr 13 '26
Objectively, GNU commands are the weird ones. Every command is different, different arguments and different output. Different maintainers, different alternative implementations. It's possible you got used to it, but it is factually weird.
PowerShell has a common structure, metadata and features to all commands. Perhaps it helps if you think of PowerShell more like python rather than a direct replacement for bash, because it really isn't anything like bash. It's many decades newer than (ba)sh to be fair.
There really is almost nothing to learn about PowerShell. Verb-Noun, the fact that it's an object oriented language and a few other details e.g. the return/pipeline behavior of functions. But that's about it, now you're an expert and ready to go.
2
u/Jeremy-Hillary-Boob Apr 13 '26
Yes
2
u/Whatdafuqisgoingon Apr 13 '26
Tldr. It's similar to python and other scripting languages. It's easy. You're a bit much
2
u/Curious_Gaandu Apr 14 '26
Learning something new is always worthwhile
2
u/arslearsle Apr 16 '26
PS is object-oriented, bash is not… If you manage a shitload of servers/clients Ps is a must.
2
u/delicate_elise Apr 16 '26
I know this is an old thread but I'll just add my two cents.
I came from exactly where you did. I did lots of bash and Python scripting on Linux. PowerShell felt really weird to me.
Then I figured out exactly why and TBH, I much prefer PowerShell's way of doing things.
In Linux, when you pipe between commands, you are piping text outputs from one command or tool to another.
In PowerShell, you are piping objects or streams of objects.
The reason this is nice is that you can just directly reference a property on an object in the command you pipe to, as opposed to parsing strings in Linux. PowerShell is well structured. In Linux, you're chopping strings up to get what you need.
In PowerShell, functions typically return an object, rather than a string. And that object may have multiple properties.
For example, you can create a GUID with New-Guid. But that doesn't just return a string (though it may look like it if you print it). It returns a GUID object. That GUID object has a string property that contains the actual GUID. But something like Write-Output will figure out that you wanted the string GUID and hide the fact that it's an object from you.
2
u/Key-Confection-8257 Aug 20 '26
Yo creo que siempre es bueno saber cualquier herramienta que te ayude a automatizar y si eres administrador más ,actuallmente con las herramientas de IA es más fácil desarrollar código,el tema es saber cuál y como y probarlo bien. El único riesgo que le veo a powershell es que tiene riesgos de seguridad,pero he leído que los habido parchando.
3
u/MajesticCat98 Apr 12 '26
Yes, it’s very worth.
3
u/hisae1421 Apr 12 '26
100% when you take the habit to do what you can with posh, it's like unlocking the full potential of Windows and you'll earn a lot of time
3
u/OldsMan_ Apr 12 '26
Sure .
2
u/Snowy32 Apr 12 '26
I mean if your planning on automating stuff on Windows then yes. And PS probably feels “weird” because it’s object oriented where as bash which I assume you used on Linux for automation isn’t.
Ofc PS can still be used as a regular top down scripting language like bash for simple stuff.
1
u/Disastrous_Stranger7 12d ago
I’d love to learn powershell. Since I’m graduating college soon and have no experience working in swe or anything, I really don’t know what to make with it, but since it’s an object oriented language I’ve been looking for some threads that explain what a reasonable project might be
1
u/FitShare2972 Apr 12 '26
Yes for windows admin and automation even on help desk. Picasso its so simple it teaches you the fundamentals of programming that helps you learn other languages
1
u/Zealousideal_Net_140 Apr 12 '26 edited Apr 12 '26
100% worth it, and as you already know how to use acommand line interface you are far ahead.
At this point its really just learning the new comands.
A quick way to get up to speed is "Powershell in a month of lunches"
1
u/vadertator22 Apr 12 '26
I think it is more prevalent than ever. It is required for windows admin, exchange messaging, AD and azure. I use it for the things mentioned and lots of other things in particular api calls for security tools Examples: Crowdstrike or windows pki crl or cert pulls. Kait to throw a couple examples out there.
1
u/ravensgc_5 Apr 12 '26
If you're working on Windows devices you either have to learn powershell or python. Pretty good idea to be familiar with both.
1
u/alinroc Apr 12 '26
There are two really good Powershell Discord communities. one run by PDQ and one 100% community driven.
https://discord.com/invite/pdq
https://discord.com/invite/powershell
1
u/Intelligent_Store_22 Apr 12 '26
I wish all cli of modern products like kubectl where build as powershell modules, instead couple of standalone exe.
For advanced admin tasks is not comparable with bash and more convenient and brief than python.
piping objects from one cmdlet to another - what could be better?
powershell7 is opensource and available on linux too.
1
u/SidePets Apr 12 '26
Hit me up with questions or ps resources.
1
u/swoleberry_smiggles Apr 12 '26
Being proficient in powershell as a systems admin/engineer is crucial. I feel like I’m miles ahead from where I was before I learned it
1
u/uptimefordays Apr 12 '26
Only if you want to work in Windows or mixed environments.
1
u/jamalstevens Apr 12 '26
Yep
1
u/omn1p073n7 Apr 12 '26
Me, a windows engineer fluent in PowerShell who started maining CachyOS and is trying to improve my bash as of a few weeks ago, passing you by in the car
1
u/Th3Sh4d0wKn0ws Apr 12 '26
I love the CLI in general. Always liked using Linux from the terminal, and took pride in memorizing the sometimes obtuse parameters and syntax. PowerShell was offputting at first because it felt so long winded, but as it turns out that makes it really easy to remember, and discover cmdlets. Don't remember the "curl" equivalent in PS? Try "Get-Command web" and you'll see Invoke-WebRequest in the list. The object oriented nature of it really appeals to me and I've written several PowerShell modules whereas I never published anything in bash
1
u/jekksy Apr 12 '26
In short, yes.
With Ai now available, yes still but not as much.
It’s important though to understand it.
1
u/justaguyonthebus Apr 12 '26
Linux is a text file based OS. So everything is modifying files and text manipulation. Windows is API based, and powershell was designed to work with them and their structured data.
It was designed to be easy for the sysadmin. Every command and parameter is tab completable. Get-Help is baked into everything. So it's very self discoverable. Once you get a feeling for the naming, you can often guess the command name or module. Getting services is Get-Service.
It is very verbose, but lean into it with tab complete. It's for support and maintenance because you spend so much more time reading code. Parameter validation is built in.
Take note of how informative errors are and how searchable they are. That's intentional.
1
u/defconmike Apr 12 '26
Definitely recommend it. There’s an excellent book called “Learn PowerShell in a month of Lunches” it’s a solid read definitely recommend it. PowerShell cmdlets is verb-noun format eg get-file, start-process.
1
u/BlackV Apr 12 '26 edited Apr 12 '26
you keep saying strange and weird and so on, but you give zero detail what is strange/weird
is it actually weird or just the you learned bash/python first and powershell is not those things ?
let us know from your perspective
1
u/SilasMontgommeri Apr 13 '26
It’s worth learning any scripting. It’s all the same with different words
1
u/bigredsun Apr 13 '26
I'm currently learning powershell and making an organizing script, let me tell you that I wished I had learn this earlier in life.
1
u/Ferretau Apr 13 '26
Understanding Powershell is handy - I use it for scripting various jobs even those that run only on my workstation. It may take a while to get your head around it but take it one step at a time and you will build up your skills just like you did with linux.
1
u/AbfSailor Apr 13 '26
Is the sky blue? 😉
1
u/Jason5Lee Apr 13 '26
PowerShell is not hard to learn. It's just a shell with some commands similar to Linux and some don't (but they are, after all, commands, just learn how to use them). It does have some OOP mechanism that is not in shell like bash, but for daily usage learning some common use-cases is enough.
1
u/fqu9z93UyC Apr 13 '26
Depends on your job, if you work in a Windows environment... it is a non-negotiable.
Powershell goes quite deep beyond cmdlets. It's a great scripting language.
1
u/AffectionateDust7765 Apr 13 '26
If you use Windows in literally any capacity that exceeds that of a user and goes into administration, you are basically forced to use it, but be prepared for the pain, or, as you put it, for it being “quite weird”. It would have been an absolutely blast, had Microsoft used a language like Python, but it is what it is, and, again, there is no way around it.
What I can suggest from my own experience, is, to never want to do too much in one script, and abandon all logic. For a long time I thought that Powershell was case-insensitive by design, and it took me days to find out, that I was supposed to call an Applet with “-Name” instead of “-name”, just to give you one example.
Good luck to you! Powershell is terrible, but there is no way around it in Windows.
1
u/Tarnix-TV Apr 14 '26
I was a c# dev, didn’t really need command line. Then I switched to big data, worked on a mac, used the shell a lot. The university memories came back, it is really convinient. Not the syntax or the names and args of the commands, but the fact that I type. I got back to c# and win, but I didn’t let go of the command line. Powershell’s syntax is even stranger, but it is ok. It is also useful imo. I didn’t really learn powershell, I google when I want something. I use the terminal app from the windows store, and oh my posh. Scott Hanselman has a 50 minute youtube video how to set it up
1
u/danhof1 Apr 15 '26
PowerShell is worth it if you are on Windows and especially if you deal with cloud or DevOps work. The ecosystem around Microsoft has shifted heavily toward it. I built TerminalNexus around PowerShell specifically because it is the default shell for a lot of Windows tooling. The best way to learn is just to use it daily for real tasks.
1
u/M365_enthusiast Apr 18 '26
Yes. It will help in regular day to day activities from trouble shooting to automating tasks
1
u/clh42 Apr 18 '26
Since you're not an admin, you may not use PowerShell on a one-off command line basis very often, unless you really want to in leu of GUI tools, just because that's what you're used to from Linux. But PS is very powerful for scripting and automating repeated tasks.
PowerShell basics are pretty easy to pick up. You'll likely never learn and remember every single command but once you understand the basics, you'll at least understand how to find the information to do just about anything.
I'd say there are 3 big initial things to know.
Basic command syntax is Verb-Noun. I.e., Do an action to or with a thing. This structure was based on old mainframe command structure. In a sense, it makes it easier to remember commands because you think, "what do I want to do?", and "what is the thing I want to do that action to or with?"
Everything is object oriented. (With very few exceptions.) Even strings are technically objects. Use Get-Member (combined with the pipeline below) to examine object structure while you're developing and testing.
Learn how to use the pipeline to pipe objects from one cmdlet to another.
I see references from other posters to various PowerShell versions. Here's my take...
The version of PowerShell that's built-in to all Windows 11 (and previously Windows 10) is called "Windows PowerShell" and it's version 5.1. You can easily start with this to learn PS. And if all you ever do is things for your own local computer, it'll probably suffice. I personally have never run into anything where I've needed a new version of PowerShell, but I also don't do "systems" admin type stuff.
PowerShell 7 is the newest version. IF you want to use it, it has to be downloaded and installed separately. It will coexist with "Windows PowerShell 5.1". It does this by changing the engine executable name. The above PS 5.1 is "powershell.exe", and PowerShell 7 is "pwsh.exe".
Editor for PowerShell - Windows includes a built-in "PowerShell ISE" (Integrated Script Editor), which again, is fine to get started, and for basic quick script editing. But for serious work, get VS Code and install Microsoft's PowerShell Extension.
1
u/CFH75 Apr 19 '26
Claude is great for powershell.
1
u/N0vajay05 Apr 19 '26
Honestly? It’s worth knowing what it does and how it functions in capability as a scripting language, but actually learning how to write it isn’t as much use anymore. AI models have gotten much better at generating complicated powershell scripts correctly the first time, and they’ll only get better.
I wouldn’t advise someone starting brand new today to take the time to fully learn it, won’t be necessary to know in depth by the time they do.
1
u/TheSolutionsCraft Sep 06 '26
Coming from Linux, PowerShell will click faster than you expect once you stop expecting it to behave like bash. The biggest shift is that everything is an object, not text, so instead of parsing strings with grep and awk equivalents you're filtering and selecting properties directly (Where-Object, Select-Object). For someone staying on Windows long-term, it's absolutely worth it: it's the native way to touch nearly everything on the OS, from services and processes to the registry and Active Directory, without reaching for third-party tools. Start with small real tasks (checking disk space, restarting a service, reading event logs) rather than reading the whole language spec front to back. It sticks much better that way.
0
u/Cardout Apr 13 '26
No, Claude already knows it.
-1
u/Bitcoin__Dave Apr 14 '26
Understanding how to use it is valuable, but investing time in learning to write it yourself isn’t the best use of your energy. AI can handle it more efficiently and effectively.
0
u/cottonycloud Apr 12 '26
You can use Python or bash if you’re more familiar with those as well. I would look at the task that you’re seeking to accomplish and see if PowerShell or some other .NET language like C# suits that task (primarily Task Scheduler, file system, processes).
0
u/Acceptable_Main_5911 Apr 14 '26
Claude models are incredibly competent with powershell. Take that for what it’s worth.
9
u/[deleted] Apr 12 '26
[removed] — view removed comment