r/PowerShell • u/brosama1420 • Aug 04 '26
Question MS power-shell inquiry
Hey everyone
I know this is kind of basic question but I didn’t find a satisfying answer during my search
I am not system administrator and I won’t be all I care about is daily task automation I want to make my work nice and easy or at least systematic and controllable so is power shell the right tool for me? Or should I just drop it?
If it was can you please help me on how to learn it all what I could find on the internet specific to active directory application or too general and simple examples explaining techniques Without context I find my self spending hours only to learn that I memoized syntax but have absolutely no idea how to use it in my life
2
u/GarThor_TMK Aug 05 '26
Its a little difficult to answer this question, without specifics.
Powershell can do a lot of things, but it can't necessarily do everything.
It can interface with office files, it can read and write csv, json, and xml, and plain text.
16
u/WhatThePuck9 Aug 04 '26
Take a task that you do often and write down the steps. Then figure out the relevant commands and build the script to do the same things in the same order.
9
u/lurkerburzerker Aug 04 '26
Give us an example of something you want to automate. What do you do for work?
4
u/thehuntzman Aug 04 '26
Depends on if you want to learn programming. Powershell is definitely marketed toward sysadmin types due to the modules available being administration-centric but it is a Turing complete language which can access almost the entirety of the dotnet runtime. For me, this means I can automate pretty much anything under the sun with powershell but that is 12+ years of experience under my belt. Honestly you'd probably be better served with a $20/mo chatgpt subscription and having codex write and explain powershell automations for you if you care to learn it. Microsoft powerautomate desktop isn't a bad solution either for those who don't want to code for simple automations. Perhaps python would be a more friendly language for you to learn given you have zero system administration use-cases and most examples out there deal with that.
2
u/Derekrollo Aug 04 '26
Depends what all you do for work and if your are mostly in windows computers. PS is mostly for automation but you can use it for other stuff. I’ve found it very useful working in tech. The thing that really helped me get going was the book Powershell in a month of lunches. During that I built little things with it.
2
u/Yuuku_S13 Aug 04 '26
This is a PS resource I’d recommend: https://a.co/d/0b3bJ37k
It’s old but the concepts still carry through PS7(pwsh)
It depends on what you are trying to do. Python MIGHT be a better route to go
1
u/rhyslowrl Aug 06 '26
Just ask chatgpt, it will make the complex tasks for you, based on your question you won’t use it enough to matter and it will take to long to learn the few things you need. Basically anything you can think of that might be done on a computer or from computer to computer you can use powershell for. Chatgpt or claude can make it happen in minutes to hours instead of weeks to months.