r/PowerShell • u/Tsonga87 • Jun 05 '18
Made my first script today!
Although I have been using other peoples scripts, and editing as needed, I have always avoided taking the plunge with PowerShell.
But today.......today I made my own script and it worked! It was pretty simple and only counted the number of objects in three AD security groups and then moved them into different security groups (and took additional AD creds), but it worked!
Happy!
Edit: Thanks for the comments, guys! What is even cooler is that I have just had to use a variation of the same script again. All the work this morning even paying off this afternoon.
Edit 2: Thanks again for all the positive feedback! I am going to comment my script and keep it safe :).
126
Upvotes
2
u/JBear_Alpha Jun 05 '18
I hear people talk about the time spent/time saved curve all the time but, because I've spent the time to write and research so much in the past pretty much everything writes itself 95%+ from my previous code.
I can't count the number of hours I've saved myself and my team from hand-jamming massive amount of bullshit. Keep going man, it's 150% worth it.