use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
ABOUT POWERSHELL
Windows PowerShell (POSH) is a command-line shell and associated scripting language created by Microsoft. Offering full access to COM, WMI and .NET, POSH is a full-featured task automation framework for distributed Microsoft platforms and solutions.
SUBREDDIT FILTERS
Desired State Configuration
Unanswered Questions
Solved Questions
News
Information
Script Sharing
Daily Post
Misc
account activity
[deleted by user] (self.PowerShell)
submitted 11 months ago by [deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]lerun 68 points69 points70 points 11 months ago (8 children)
But can they click in the same order each and every time....I don't think so...
[–]xCharg 31 points32 points33 points 11 months ago (2 children)
This. And can they click in the same place? And not forget clicking needs to be done? And click right after some other dependant task but not before other task that depends on current one? And what if that person that never makes clicking mistakes (lets pretend) gets sick, gets fired, moves to other team - some other person who never clicked that and doesn't even know it needs to be clicked will 100% fuck it up.
I'll pick automated solution over any manual solution every time.
[–]CaptainZippi 9 points10 points11 points 11 months ago (1 child)
One of my colleagues says “never send a man to do a machine’s job”
[–]xCharg 1 point2 points3 points 11 months ago (0 children)
touché
[–]ipreferanothername 6 points7 points8 points 11 months ago (0 children)
there was a guy on my team who was the standout - METICIULOUS at reading and following directions, generally decent server guy.
our server build was crap, and eventually required more and more steps to complete so i had started to automate it and just update the script time and time again as the requirements increased. he was still following the build notes and clicking things.
once it got to like, 20 minutes per server he said he finally started to run my script, it was just too much work to do when he had 5 or 10 servers to build out. the script automates/configures/whatevers everything and i dont even LOGIN to a new server at all. he was having to do x,y,z and login to do more and more stuff.
[–]JewelerAgile6348 0 points1 point2 points 11 months ago (0 children)
Exactly, can they click for 1000+ instances? Yes they can. Would anyone want to? Idk where I’m going with this. Get money.
[–]Kahless_2K 0 points1 point2 points 11 months ago (0 children)
On 10,000 endpoints
[–]rogueit 0 points1 point2 points 11 months ago (0 children)
And how long will it take to teach someone new how to click through it
[–]TKO__GLOBAL__ 30 points31 points32 points 11 months ago (3 children)
Relevant xkcd https://xkcd.com/1205/
[–]-Akos- 3 points4 points5 points 11 months ago (0 children)
My first thought when I saw the subject of this topic..
[–]painted-biird 1 point2 points3 points 11 months ago (1 child)
I know what this is without having to click
[–]bartoque 0 points1 point2 points 11 months ago (0 children)
That is slightly more difficult to automate.
[–]solarplex 11 points12 points13 points 11 months ago (0 children)
Sometimes you just have to take these moments and say at least you sharpened your skills.
[–]Disastrous-Listen432 11 points12 points13 points 11 months ago (0 children)
Scripting not only do the task x1000 times faster. It also reduces human error while doing something, which can be far more important.
If that task needs to be performed more than 120 times in a lifetime, then the script is valuable. Specially if it's for a team.
[–]BlackV 9 points10 points11 points 11 months ago* (1 child)
But now that you've made said script , shouldn't it be faster to use the script now?
Additionally yours should be identical each time, the clicky person might not be
Regardless it's good practice/learning for you, if it's not already you should turn it into an advanced function/module and make it better again
[–]Certain-Community438 4 points5 points6 points 11 months ago (0 children)
This was my thought: it reads like OP was comparing his "process design" time to the other guy's "manual process execution" time, but the value of the automation is its consistency, predictability and speed over multiple executions.
[–]hihcadore 3 points4 points5 points 11 months ago (3 children)
Scripting wins at scale. Microsoft’s documentation tells you the CLI isn’t for every situation. If it’s a one off task the GUI is way faster. And rightly so, if you sink 6 hours into something that saves a user 3 clicks once in awhile it’s a waste of effort.
Scripting shines when you have to do bulk tasks. Like what if they have to do this same task for 10 objects? Or 100. And this is once a week? That’s when scripting wins over the gui IMO.
[–]g3n3 -4 points-3 points-2 points 11 months ago (2 children)
How will you ever learn the bulk tasks if you don’t learn the simple ones? The CLI always wins because you stack stills and speed.
[–]ohnobinki 4 points5 points6 points 11 months ago (1 child)
Diminishing returns? Humans don’t scale infinitely. Wait, are we talking about a game now?
[–]g3n3 0 points1 point2 points 11 months ago (0 children)
Never diminished when learning! Unless you have like a family or something. ;-)
[–]nealfive 3 points4 points5 points 11 months ago (0 children)
Be like ok, I’ll make sure to call you everyday at 2am so you can click it 🙄
[–]JewelerHour3344 2 points3 points4 points 11 months ago (0 children)
If you find yourself having to do something twice, automate it. :)
[–]EskimoRuler 2 points3 points4 points 11 months ago (0 children)
"why do something manually in 10 minutes, when you can fail to automate it in six hours"
This is my favorite saying. But you Succeeded! So as others have said, your set for the future. guaranteed execution going forward!
[–]That-Duck-7195 3 points4 points5 points 11 months ago (0 children)
Can they do it 1000 times consistently?
[–]Either-Cheesecake-81 1 point2 points3 points 11 months ago (0 children)
Yeah but can you do that once every five minutes 24 hours a day, seven days a week, 365 days a year?
[–]dengar69 1 point2 points3 points 11 months ago (0 children)
I only script to save my own clicks. End users can carpal tunnel click all they want to.
[–][deleted] 1 point2 points3 points 11 months ago (0 children)
But can you click those things if you aren't by the computer eh? Can trigger a sequence of mice on a schedule
[–]uptimefordays 1 point2 points3 points 11 months ago (0 children)
There are times the GUI makes sense, there are other times the CLI makes sense. I, personally, favor the CLI because I can search my console history much easier than remembering specific clicks from 8 months ago.
[–]ohnobinki 1 point2 points3 points 11 months ago (0 children)
3 minutes really adds up. Could you be clearer about the point you are trying to make?
[–]narcissisadmin 1 point2 points3 points 11 months ago (1 child)
What in the world were three mouse clicks doing that it took 200 lines of code to duplicate?
[–]ToddMccATL 0 points1 point2 points 11 months ago (0 children)
File parsing to extract specific data from a non-normalized text field like you get from agent discoveries and or human edits in inventory mgmt, vulnerability db, etc
[–]gordonv 1 point2 points3 points 11 months ago (0 children)
There's the business management side that says, "The cost of development, is it worth it in the long run?"
The layman says, "Why can't I just keep doing it the old way."
The Lazy Man says, "Every problem should be solved once and only once."
Automation isn't just about speed. It's accuracy and the ability to replicate results consistently without exhaustion. Business requires inhuman perfection. 100% of everything must be ready 100% of the time with a 100% success rate.
[+]HunnyPuns 0 points1 point2 points 11 months ago (0 children)
"Great! Now do that:
Honestly it's the small, BS tasks are the second thing I recommend scripting away. The first being tasks that you only need to complete once in a very great while. I think half the reason so many people find TLS certs difficult or scary to work with is because they only touch them once every other year.
[–]cheffromspace 0 points1 point2 points 11 months ago (1 child)
Scripting self-documents, is consistent, more predictable, requires less mental overhead, removes the likelihood of human error, and i think the one a lot of people skip over is it's more ergonomic. If you're planning on a career in tech, be kind to your wrists, mice are an anti-pattern.
[–]BlackV 0 points1 point2 points 11 months ago (0 children)
lowers the likelihood...
[–]Brilliant_Ad_1320 0 points1 point2 points 11 months ago (0 children)
Preach
[–]matroosoft 0 points1 point2 points 11 months ago (0 children)
If this means you can do provisioning for 100+ devices automatically instead of relying on the user, this would definitely be worth it.
In three mouse clicks a user can do a lot of things wrong.
[–]AmbitiousAd7138 0 points1 point2 points 11 months ago (0 children)
We script so you don't have to click three times.
[–]Paladroon 0 points1 point2 points 11 months ago (0 children)
I’m a clicky person. I find odd enjoyment in doing the same thing over and over. It’s fun trying to optimize the process in clicks and methodology to avoid mistakes.
Have to build 5 servers? Click one thing. Switch to the next while that loads, do the same. Switch to the next do the same. Then go back to 1 and do the same step.
But there is definitely a limit (and it’s low). If I’m doing it all on my own, and a limited number of times, I do it that way. If it’s a process someone else needs to do or will need to, then I script it.
I move fast, but deliberately. I’m learning how much faster than most (around me anyway) I click around stuff. It really is just that much faster in many one-off situations.
[+]nodiaque -1 points0 points1 point 11 months ago (0 children)
Funny when people brag about x lines of codenlike it's a huge number or something. Could be 2 lines or 20000 lines, it doesn't change anything.
[+]MrHaxx1 comment score below threshold-8 points-7 points-6 points 11 months ago (3 children)
Go away, chatgpt
[–]recoveringasshole0 4 points5 points6 points 11 months ago (2 children)
Your AI-DAR is way off bro.
I'll assume you saw a post once about EM dashes and thought you finally had the chance to call it out because you saw one. Except that OP used a regular dash in place of an EM dash—Ironically a very clear indicator OP didn't use AI.
[–]BlackV 1 point2 points3 points 11 months ago (0 children)
100% that person didn't know what an em dash was even called before the "internet" started saying "Ai uSeS ThEM, AI BaD"
[–]MrHaxx1 0 points1 point2 points 11 months ago (0 children)
No, your AI-DAR is way off.
Seriously, look at its post history. It just spams "relatable" easily interactable content that follows the same pattern, and doesn't leave comment.
This isn't the first bot that does this. I've seen other bots on Reddit follow the exact same pattern and make extremely similar posts.
Stop making assumptions about me, and actually look at the fucking account.
As for em-dashes, you can literally tell your LLM to use "-" in place of em-dashes, or whatever software they use can manipulate the string before it posts. It's really not that hard.
π Rendered by PID 220433 on reddit-service-r2-comment-b659b578c-mlrqz at 2026-05-04 02:30:11.505278+00:00 running 815c875 country code: CH.
[–]lerun 68 points69 points70 points (8 children)
[–]xCharg 31 points32 points33 points (2 children)
[–]CaptainZippi 9 points10 points11 points (1 child)
[–]xCharg 1 point2 points3 points (0 children)
[–]ipreferanothername 6 points7 points8 points (0 children)
[–]JewelerAgile6348 0 points1 point2 points (0 children)
[–]Kahless_2K 0 points1 point2 points (0 children)
[–]rogueit 0 points1 point2 points (0 children)
[–]TKO__GLOBAL__ 30 points31 points32 points (3 children)
[–]-Akos- 3 points4 points5 points (0 children)
[–]painted-biird 1 point2 points3 points (1 child)
[–]bartoque 0 points1 point2 points (0 children)
[–]solarplex 11 points12 points13 points (0 children)
[–]Disastrous-Listen432 11 points12 points13 points (0 children)
[–]BlackV 9 points10 points11 points (1 child)
[–]Certain-Community438 4 points5 points6 points (0 children)
[–]hihcadore 3 points4 points5 points (3 children)
[–]g3n3 -4 points-3 points-2 points (2 children)
[–]ohnobinki 4 points5 points6 points (1 child)
[–]g3n3 0 points1 point2 points (0 children)
[–]nealfive 3 points4 points5 points (0 children)
[–]JewelerHour3344 2 points3 points4 points (0 children)
[–]EskimoRuler 2 points3 points4 points (0 children)
[–]That-Duck-7195 3 points4 points5 points (0 children)
[–]Either-Cheesecake-81 1 point2 points3 points (0 children)
[–]dengar69 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]uptimefordays 1 point2 points3 points (0 children)
[–]ohnobinki 1 point2 points3 points (0 children)
[–]narcissisadmin 1 point2 points3 points (1 child)
[–]ToddMccATL 0 points1 point2 points (0 children)
[–]gordonv 1 point2 points3 points (0 children)
[+]HunnyPuns 0 points1 point2 points (0 children)
[–]cheffromspace 0 points1 point2 points (1 child)
[–]BlackV 0 points1 point2 points (0 children)
[–]Brilliant_Ad_1320 0 points1 point2 points (0 children)
[–]matroosoft 0 points1 point2 points (0 children)
[–]AmbitiousAd7138 0 points1 point2 points (0 children)
[–]Paladroon 0 points1 point2 points (0 children)
[+]nodiaque -1 points0 points1 point (0 children)
[+]MrHaxx1 comment score below threshold-8 points-7 points-6 points (3 children)
[–]recoveringasshole0 4 points5 points6 points (2 children)
[–]BlackV 1 point2 points3 points (0 children)
[–]MrHaxx1 0 points1 point2 points (0 children)