Let’s have a look on how we can easily prestage computer accounts with Powershell. Prestaging computer account can be useful if you’re using WDS in your organization to deploy computers. That one script will create a computer account in AD, add Mac address, WDS server name, and unattend information in it which will make your deployment zero touch (apart from turning on the PC and PXE boot of course… ).
This one script will allow your helpdesk team to perform their daily AD job without having to open ADUC or AC.
It can allow them to search for a specific user – by using username, last and firstname or employee ID as search criteria – reset/unlock password, find group membership and computer information.. So let’s get it on..
Let’s start with an easy one. Few years back, I had a colleague who found it too difficult to file out an EXCEL spreadsheet when assigning or when someone return a PC. Consequence, this was a problem to keep an updated asset list in the company. First, I told him, OK, you print a word document where you will fill ‘name, firstname,…’ and get it signed by user. Then you give me the paper, and I’ll take care about our XLS file.
That was also too difficult for him… Unfortunalty (for him), he got fired… not only keeping a XLS file or word document up-to-date was a problem, but just coming to work was for him at the end…
Anyway, I was also tired of that paperwork just to keep my asset list up-to-date. So what you do when you tired and lazy of doing something? -answer, you build a script that will do it for you 🙂 . And here it is, I’ll explain each function
One more POSH blog to show the world my big… skills with PS 😉 …. Actually, I created this blog to put all scripts I created, as a reminder for myself, and also share it with everyone who wants to use/custom them.
Finally, I’m not english, so my english is not parfait, and I didn’t create PS so my script ain’t too.