I have MDT 2013 deploying several images. With Powershell I would like to move them to the correct OU as well. Is that possible?
I was trying with the following but it does not seem to work:
Enable-PSRemoting -Force
Move-ADObject -Identity $env:COMPUTERNAME -TargetPath ="CN=$($env:COMPUTERNAME),OU=Servers,OU=1,OU=2,OU=3,OU=4,DC=inside,DC=kinux,DC=com"
Invoke-GPUpdate –Computer $env:COMPUTERNAME –RandomDelayInMinutes 0