How to connect putty with powershell script

please help me on this i need to change the passwords for 100 servers using powershell scripting

Refer this link:

First try for one mahcine, then use uipath to loop through and execute this script.
You can store list of machines in excel ,read them, loop through and run powershell script inside for each.