PS C:\Users\Administrator> Get-ADComputer NAME | Move-ADObject -TargetPath "OU=SERVERS,OU=COUNTY,
OU=STATE,OU=REGION,OU=COUNTRY,DC=subdomain,DC=mydomain,DC=com"
However, I am getting this:
Move-ADObject : The operation could not be performed because the object's parent is either uninstantiated or deleted
Any idea what I am doing wrong?
Is ADComputer not piping over correctly? Examples show this is valid.
I am trying to move the computer to a new OU out of the default.