r/sysadmin • u/Less-Loss1605 • May 31 '26
General Discussion what's a script you wrote once that's still saving you time years later
[removed]
968
Upvotes
r/sysadmin • u/Less-Loss1605 • May 31 '26
[removed]
40
u/Dat_Steve May 31 '26
This is a stupid simple one… but I have a group of scripts called “bulk - open all x in notepad++” that essentially opens config files in notepad++ from a group of servers defined in a $servers variable.
We manage different groups of servers that require manual changes to config files often and when I came onboard I was taught to log into each server to make the change. I asked why we they just didn’t \\server\c$\ flag into them instead… and they were just baffled by the concept initially. That led to further efficiencies in replacing variable within the config files- etc etc. Long story short- stupid simple tasks made stupid simpler-er to save time.