Powershell script to change local admin account password
- 
 You can no longer change local admin accounts with GPP. I am looking for a way to do it in powershell. Has anyone done this before? 
- 
 $computers = Get-Content -path C:\fso\computers.txt 
 $user = "aUser"
 $password = "MyNewPassword!"
 Foreach($computer in $computers)
 {
 $user = [adsi]"WinNT://$computer/$user,user"
 $user.SetPassword($Password)
 $user.SetInfo()
 }

