I found the following script to change Administrator passwords on remote machines:
foreach ($strComputer in get-content C:\MachineList.Txt)
$ping = new-object System.Net.NetworkInformation.Ping
$Reply = $ping.send($strComputer)
if($Reply.status -eq "success")
$admin=[adsi]("WinNT://" + $strComputer + "/administrator, user")
However, can someone please help me alter it. I would like an exported txt file containing a list of computers that didn't respond to the ping - so I know which computers haven't updated with the new Admin password.
Thanks in advance,