I have a .ps1 script that consists of a combination of PoSh cmdlets and Invoke-NcSsh. The script works as expected when it's executed from PoSh but throws errors saying "Error: Please install putty ( version putty-64bit-0.70(64bit) or putty-0.70-installer(32bit) ) on your machine to use this cmdlet.. Code: . Message: Unable to connect <cluster>" when the script is triggered from a scheduled task.
PuTTy is installed and permissions of its registry key is configured as reported elsewhere in this forum. Does anyone else have this problem / knows how to rectify this?