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