This tutorial assumes you have already opened your Windows command line.
Now let’s learn how to clean up your Putty sessions from the Windows command line.
Type the path to your Putty.exe here
Then type -cleanup here, then click Yes to clear your sessions.
That’s it! The PuTTY sessions have been cleared or cleaned up.
This is the end of the tutorial. You now know how to clean up your PuTTY sessions.