Recover workstation or server trust

Server or workstations with RSAT
netdom resetpwd /s:ActiveDirectoryServerName /ud:Domain\Username /pd:*

Workstations
Reset-ComputerMachinePassword -Credential <admin username> -Server <server>