Default Computer OU Query

Lee HLee H Member Posts: 1,135
Hi

Just wondering, is it possible for AD to query the OS and if Win10 move the computer account to a specif OU instead of the default which we have in place now..

We have a separate OU for Win10 GP so having to manually move each new account into there and am wondering if this can be automated

Cheers

Lee
.

Comments

  • pizzaboypizzaboy Member Posts: 244 ■■■□□□□□□□
    Powershell would be able to do that, a combination of get-adcomputer and pipe that into add-adgroupmember.
    God deserves my best
  • backtrackerbacktracker Member Posts: 91 ■■■□□□□□□□
    Script what pizzaboy mentioned into a GPO and filter the GPO with a WMI query to sort by OS. Probably other ways too...
    MSM-ISS (Information System Security)-'07 Colorado Tech.
    MCSE | MCSA X3 | Security + | Network +
Sign In or Register to comment.