<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Invoke-NcSsh complaining PuTTy not installed when executed from scheduled tasks in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NcSsh-complaining-PuTTy-not-installed-when-executed-from-scheduled-tasks/m-p/153123#M6106</link>
    <description>&lt;P&gt;Thanks PhillipUdel but I have no problems with executing normally "Invoke-NcSsh" from a PoSh console. The problem only comes in when the command is executed from a scheduled task.&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/51701"&gt;@PhillipUdel&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;have been using putty-64bit-0.70-installer.msi for NetApp_PowerShell_Toolkit_9.6.0.msi.&lt;/P&gt;
&lt;P&gt;I also make the regestory change to Local Machine software\simontatham and Add&amp;nbsp;the local&amp;nbsp;User/ System Full Control in the permissions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I find running powershell as administrator works well.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Dec 2019 00:59:34 GMT</pubDate>
    <dc:creator>eugene_t</dc:creator>
    <dc:date>2019-12-18T00:59:34Z</dc:date>
    <item>
      <title>Invoke-NcSsh complaining PuTTy not installed when executed from scheduled tasks</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NcSsh-complaining-PuTTy-not-installed-when-executed-from-scheduled-tasks/m-p/153104#M6102</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;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 &lt;FONT color="#FF0000"&gt;"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 &amp;lt;cluster&amp;gt;"&lt;FONT color="#000000"&gt; when the script is triggered from a scheduled task.&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;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?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Info:&lt;/P&gt;
&lt;P&gt;Windows Server 2012 R2&lt;/P&gt;
&lt;P&gt;PoSh&amp;nbsp;5.1.14409.1018&lt;/P&gt;
&lt;P&gt;NetApp PoSh toolkit version 4.5.0&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 12:06:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NcSsh-complaining-PuTTy-not-installed-when-executed-from-scheduled-tasks/m-p/153104#M6102</guid>
      <dc:creator>eugene_t</dc:creator>
      <dc:date>2025-06-04T12:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Invoke-NcSsh complaining PuTTy not installed when executed from scheduled tasks</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NcSsh-complaining-PuTTy-not-installed-when-executed-from-scheduled-tasks/m-p/153105#M6103</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There have been a number of issues with Invoke-NcSsh and Putty&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NcSsh-failing-with-ONTAP-9-3/td-p/137313/page/2" href="https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NcSsh-failing-with-ONTAP-9-3/td-p/137313/page/2" target="_blank" rel="noopener"&gt;https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NcSsh-failing-with-ONTAP-9-3/td-p/137313/page/2&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Have you considered using "Invoke-NcSystemApi" as an SSH replacement? What SSH commands are running in your script?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Matt&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 07:36:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NcSsh-complaining-PuTTy-not-installed-when-executed-from-scheduled-tasks/m-p/153105#M6103</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2019-12-17T07:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Invoke-NcSsh complaining PuTTy not installed when executed from scheduled tasks</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NcSsh-complaining-PuTTy-not-installed-when-executed-from-scheduled-tasks/m-p/153106#M6104</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/2305"&gt;@mbeattie&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There have been a number of issues with Invoke-NcSsh and Putty&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NcSsh-failing-with-ONTAP-9-3/td-p/137313/page/2" href="https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NcSsh-failing-with-ONTAP-9-3/td-p/137313/page/2" target="_blank" rel="noopener"&gt;https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NcSsh-failing-with-ONTAP-9-3/td-p/137313/page/2&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Have you considered using "Invoke-NcSystemApi" as an SSH replacement? What SSH commands are running in your script?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Matt&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;Hi Matt,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yeah I've considered using "Invoke-NcSystemApi" as an alternative but haven't got round to testing it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These are the "Invoke-NcSsh" commands I'm trying to run,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Invoke-NcSsh -Command "system timeout show"&lt;BR /&gt;Invoke-NcSsh -Command "security ssh show"&lt;BR /&gt;Invoke-NcSsh -Command "vserver services web show -ssl-only false -name spi"&lt;BR /&gt;Invoke-NcSsh -Command "vserver services web show -ssl-only false -name ontapi"&lt;BR /&gt;Invoke-NcSsh -Command "system services ndmp show"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll be more than happy to switch to their native cmdlets if one exists and if not, "Invoke-NcSystemApi" but I'll probably need some help with "Invoke-NcSystemApi".&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 01:00:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NcSsh-complaining-PuTTy-not-installed-when-executed-from-scheduled-tasks/m-p/153106#M6104</guid>
      <dc:creator>eugene_t</dc:creator>
      <dc:date>2019-12-18T01:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Invoke-NcSsh complaining PuTTy not installed when executed from scheduled tasks</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NcSsh-complaining-PuTTy-not-installed-when-executed-from-scheduled-tasks/m-p/153117#M6105</link>
      <description>&lt;P&gt;have been using putty-64bit-0.70-installer.msi for NetApp_PowerShell_Toolkit_9.6.0.msi.&lt;/P&gt;
&lt;P&gt;I also make the regestory change to Local Machine software\simontatham and Add&amp;nbsp;the local&amp;nbsp;User/ System Full Control in the permissions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I find running powershell as administrator works well.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 18:45:44 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NcSsh-complaining-PuTTy-not-installed-when-executed-from-scheduled-tasks/m-p/153117#M6105</guid>
      <dc:creator>PhillipUdel</dc:creator>
      <dc:date>2019-12-17T18:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Invoke-NcSsh complaining PuTTy not installed when executed from scheduled tasks</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NcSsh-complaining-PuTTy-not-installed-when-executed-from-scheduled-tasks/m-p/153123#M6106</link>
      <description>&lt;P&gt;Thanks PhillipUdel but I have no problems with executing normally "Invoke-NcSsh" from a PoSh console. The problem only comes in when the command is executed from a scheduled task.&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/51701"&gt;@PhillipUdel&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;have been using putty-64bit-0.70-installer.msi for NetApp_PowerShell_Toolkit_9.6.0.msi.&lt;/P&gt;
&lt;P&gt;I also make the regestory change to Local Machine software\simontatham and Add&amp;nbsp;the local&amp;nbsp;User/ System Full Control in the permissions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I find running powershell as administrator works well.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 00:59:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NcSsh-complaining-PuTTy-not-installed-when-executed-from-scheduled-tasks/m-p/153123#M6106</guid>
      <dc:creator>eugene_t</dc:creator>
      <dc:date>2019-12-18T00:59:34Z</dc:date>
    </item>
  </channel>
</rss>

