Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 15370

Changing Local Administrator accounts on servers on another domain

$
0
0

Was curious if anyone has done something similar.  I have an environment with 3 domains that are not trusting of each other (so I can't just use an uber-administrator account).

What I need to do is change the local administrator password on machines from each domain.  Is there a way to authenticate to a server using a domain credential in that server's domain, and then use ADSI to change that local password?

I'm not finding anything in Google, but wanted to see if any of you had done it.  RIght now I'm leaning towards using PS-Remoting to ship the script to a "work" server in each domain and then having it do the work.  I could even do that with a job and do some parallel processing... but before I start getting nutty, am I making this too difficult?


Viewing all articles
Browse latest Browse all 15370

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>