I need to schedule a health check script on a particular domain controller , have the service account, everything works. Unfortunately due to firewalls, this script can only be run on a DC, which isn't ideal; but to compensate for that, i would like to change the password for service account daily.So my question is , how can i change the the creds for schedule task, with the same automated script?
Also are there any alternatives? since this crosses forest boundaries, i am not MSA is an option.