We have recently installed Quest Active Acroles and there is a way of automatically placing laptops and PCS to the correct OU's. Example we have laptops with the naming convention LP-LON-01, LP means it is a laptop and LON means it is based in London therefore this machine should be placed in the London laptop OU. How do we achieve this. Is there a script any one have in order to do this so that we may then import this script as a module on active roles.
Thank you in advance.
kelly
PowershellActive DirectoryScripting Languages
Last Comment
Kelly Garcia
8/22/2022 - Mon
Joseph Moody
You can use PowerShell to do this. Here is a guide that I put together a few years ago. It uses the Quest AD cmdlets but you can also use the native AD cmdlets if you wish:
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
https://deployhappiness.com/move-computer-to-ou-based-on-name-automatically/
Let me know if you have any issues.