Have a script which reads in two excell spreadsheets then would like to move computers into the correct OU. Issue is when I try to set objTargetOU it appears to give me a null value.
WScript.Echo "Moving " & strComputerADsPath & " to " & strOUADsPath
'------Note : Echo returns expected response
Set objTargetOU = GetObject(strOUADsPath)
objTargetOU.Movehere strComputerADsPath, vbNullString
Get a (null): 0x80005000 what is this telling me