Hello Good folks,
I spun up an EC2 windows instance. Using the following powershell script, I tried to change the password of the Adminstrator. I am using ADSI (active directory service interface) in the command below.
This doesn’t work. Any suggestions are greatly appreciated. Thanks much
“Powershell.exe ([adsi]\"WinNT://$env:computername/Administrator\").SetPassword('”,{ “Ref”: “LocalAdminPassword”},“')”