Scripted Install PowerShell AD move
05/22/2018 1231 views
I'm trying to run a post install PowerShell script during a Scripted Installation that moves a system to a specific OU. The script calls "Import-Module Activedirectory" and it looks like I'm getting an error saying the module is not available. Are the ActiveDirectory modules available during the deploy? My script runs after a 2nd reboot and the KACE menu comes up the script looks like it runs but it evidently does not complete. When run manually it says the ActiveDirectory module cannot be found.