Symantec Management Platform (Notification Server)

 View Only

Automation Policy to Change Active Directory OU

  • 1.  Automation Policy to Change Active Directory OU

    Posted Jan 08, 2024 11:33 AM
    Edited by jpb801 Jan 09, 2024 01:30 PM

    We're upgrading computers to Windows 11 and moving computers in AD from a Windows 10 OU to a Windows 11 OU. When everybody was in the office, this was easy. We're running into problems with people running the upgrade job from home and not being on the network for the computer to be moved as part of the job. I was looking at Automation Policies to potentially resolve this challenge with a task (PS script) run by the NS, but I've never used Automation Policies. In the Automation Policy, I can run a query to find computers running Windows 11 that are still in the Windows 10 OU, but I can't figure out how to pass the SQL query's output to a task. The SQL query has three fields: 1) computer name, 2) current OU, 3) target OU. If I can pass this list to a server-side task to run a PS script, they'd get moved on a schedule. Is this possible or is there a better way to do this? Any help would be appreciated.

    Thanks,

    John