Move computer object in a SCCM Task Sequence using a PowerShell script

Move computer object in a SCCM Task Sequence using a PowerShell script

This script is useful if you re-image a machine which will re-use its AD computer name, or a new machine which needs to be moved to a specific OU chosen in a HTA.
Follow the steps in the script description to accomplish this and match the step in the image.

The script:

Leave a comment