[域|Domain] The trust relationship between this workstation and the primary domain failed 此工作站和主域间的信任关系失败

PS>

$cred = Get-Credential domain.sample.com;
Reset-ComputerMachinePassword -Credential $cred -Server 192.168.primary-domain-controller.ipaddress;

原文地址:https://www.cnblogs.com/lionetchen/p/7227697.html