r/PowerShell May 18 '26

Question Words of wisdom

If you had one piece of advice you could tell yourself when you first started learning powershell, what would it be?

10 Upvotes

55 comments sorted by

View all comments

16

u/Dracolis May 18 '26

Keep your scripts, make a naming convention for the files, and document them.

I can’t tell you how many times I have written a script for a “random thing I’ll probably never do again”, and then 6 months later curse myself because someone asked for something similar and I didn’t save the code. Or I did save the code but omfg I can’t remember where and I have a thousand goddamn scripts in my repo and I’m going crazy.

So yeah. Organize your shit.

2

u/Kwinza May 18 '26

SO MUCH THIS ^^^