Being Administrators, we will come across the situation where we need to reset the passwords for all the Servers and Workstations Local administrator Accounts. we can not go to each machine and reset the passwords.

The Start-Transcript cmdlet creates a record of all or part of a Windows PowerShell session to a text file. The transcript includes all command that the user types and all output that appears on the console.