I have just started on a 7 day trial, but wanted to let you know about something that I am working on that I think others would love to see. My environment we use MDT, however I have certain GPOs that cause Windows 10 deployments to go weird. So all computers drop into an OU with no GPO's applied. However we sometimes prestage devices prior to deployment. What I am trying to do is configure powershell to perform the following tasks.
I currently have a customized MDT screen that collects the following information.
- Assigned Building Location (Or a prestage option, and a prefix for devices I am testing)
- Internal Asset Tag Number
- Model number or device type
Those fields are put together to create a name that looks like PRE-001219-DT
1.) Leverage the current IP to determine it's new location. Change the prefix to match its physically deployed location
2.) Prompt for the assigned staff member to be granted local admin rights.
3.) Move the computer object from a staging OU that applies certain group policy's, but not all of them, to the production OU based on physical location and device type.
I currently question the best method to do this. I am thinking if the device basically uses powershell to write data to a CSV file, I can have a server that has the necessary AD Commandlets monitor the folder for that file, parse it accordingly, and then either move the file for auditing purposes or delete the file.
However something like this would give lots of smaller houses with far less resources to scale out SCCM, or fully configure MDT with a database (which still would not really help me with changing the prefix or assigning the staff member as local admin).
So hopefully this is something you guys can work into your next powershell lessons. :D