Reset-ADServiceAccountPassword: reset adservice account password with before-and-after evidence
Microsoft states: “The Reset-ADServiceAccountPassword cmdlet resets the password for the standalone managed service account (MSA) on the local computer.”
Read the guide