<?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: WFA  to execute unix scripts on a unix server in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-to-execute-unix-scripts-on-a-unix-server/m-p/18314#M3849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've already attached the .dar file for the command and also the command code along with the instructions how to use it. You need anything else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 May 2014 15:59:40 GMT</pubDate>
    <dc:creator>sinhaa</dc:creator>
    <dc:date>2014-05-02T15:59:40Z</dc:date>
    <item>
      <title>WFA  to execute unix scripts on a unix server</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-to-execute-unix-scripts-on-a-unix-server/m-p/18275#M3829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can WFA&amp;nbsp; workflows execute&amp;nbsp; unix&amp;nbsp; scripts on a unix server . If it can execute script&amp;nbsp; do you have a&amp;nbsp; working example &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:41:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-to-execute-unix-scripts-on-a-unix-server/m-p/18275#M3829</guid>
      <dc:creator>ANEESH235</dc:creator>
      <dc:date>2025-06-05T05:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: WFA  to execute unix scripts on a unix server</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-to-execute-unix-scripts-on-a-unix-server/m-p/18279#M3832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aneesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can definitely execute a unix script/command remotely and capture the output.&lt;/P&gt;&lt;P&gt;I do not have an example script or the exact way of doing it but here is what you can try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am assuming you have the script on the WFA machine.&lt;/P&gt;&lt;P&gt;Create a new command that makes use of the tool 'plink' to connect to a remote machine. Something like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;$cmd = `C:\plink.exe -ssh -m C:\checkspace.sh name@ip -pw password ` &amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-family: Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;C:\output.txt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;source:&lt;A href="https://groups.google.com/forum/#!topic/microsoft.public.windows.powershell/sDJZtr9qUfk" title="https://groups.google.com/forum/#!topic/microsoft.public.windows.powershell/sDJZtr9qUfk" target="_blank"&gt;https://groups.google.com/forum/#!topic/microsoft.public.windows.powershell/sDJZtr9qUfk&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;I haven't checked the correctness of the command yet. For the powershell syntax, you can check other commands.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;In case you need help with creating the command, let me know.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;I suggest you first try the command from the PS CLI.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I will try to explore for a better answer for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Anil&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 02:55:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-to-execute-unix-scripts-on-a-unix-server/m-p/18279#M3832</guid>
      <dc:creator>ag</dc:creator>
      <dc:date>2014-02-27T02:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: WFA  to execute unix scripts on a unix server</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-to-execute-unix-scripts-on-a-unix-server/m-p/18283#M3835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Aneesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should also be able to create a command that performs SSH directly to the UNIX box.&amp;nbsp; You can use PowerShell or Perl to make the connection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - Rick -&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 03:01:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-to-execute-unix-scripts-on-a-unix-server/m-p/18283#M3835</guid>
      <dc:creator>rle</dc:creator>
      <dc:date>2014-02-27T03:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: WFA  to execute unix scripts on a unix server</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-to-execute-unix-scripts-on-a-unix-server/m-p/18288#M3838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aneesh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WFA can do anything that a powershell and .NET can do and a powershell can do (almost) anything. You don't need any external tools or APIs. You can use Invoke-NaSsh cmdlet to get this done. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attaching the .dar file which is a WFA command to do it. This .dar can be imported on WFA2.0.1 or above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Command Code:&lt;/P&gt;&lt;P&gt;=================&lt;/P&gt;&lt;P&gt;param (&lt;/P&gt;&lt;P&gt;&amp;nbsp; [parameter(Mandatory=$true, HelpMessage="Unix Command or Script Path")]&lt;/P&gt;&lt;P&gt;&amp;nbsp; [string]$Script,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; [parameter(Mandatory=$true, HelpMessage="Unix Host Name")]&lt;/P&gt;&lt;P&gt;&amp;nbsp; [string]$UnixHost&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$creds =&amp;nbsp; Get-NaCredentials -Host $UnixHost&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;catch&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$creds =&amp;nbsp; Get-WfaCredentials -Host $UnixHost&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$returnData= Invoke-NaSsh -Name $UnixHost -Credential $creds -Command $Script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Get-WFALogger -Info -Message $returnData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;======================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 05:52:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-to-execute-unix-scripts-on-a-unix-server/m-p/18288#M3838</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2014-02-27T05:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: WFA  to execute unix scripts on a unix server</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-to-execute-unix-scripts-on-a-unix-server/m-p/18292#M3840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do i need to create a passwordless ssh between the WFA server host ( windows server ) and the target unix server&amp;nbsp; to exeute this workflow . How can the workflow get the target unix host credentials . &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 07:35:30 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-to-execute-unix-scripts-on-a-unix-server/m-p/18292#M3840</guid>
      <dc:creator>ANEESH235</dc:creator>
      <dc:date>2014-02-28T07:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: WFA  to execute unix scripts on a unix server</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-to-execute-unix-scripts-on-a-unix-server/m-p/18297#M3842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Aneesh. This doesn't require passwordless login. You can set the credentials of your Unix Host at tab "Execution" =&amp;gt; "Credentials" . If you read the description of this command, it tell you where to save the credentials.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Add Credentials&lt;/P&gt;&lt;P&gt;2. Match:&lt;STRONG&gt; Exact&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;3. Type: &lt;STRONG&gt;Other&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;4. Give username and password.&lt;/P&gt;&lt;P&gt;5. Save it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the image below.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/25051_Unix_credentials.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 07:47:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-to-execute-unix-scripts-on-a-unix-server/m-p/18297#M3842</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2014-02-28T07:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: WFA  to execute unix scripts on a unix server</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-to-execute-unix-scripts-on-a-unix-server/m-p/18301#M3843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May I use this procedure to execute a remote script in Windows too ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 13:45:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-to-execute-unix-scripts-on-a-unix-server/m-p/18301#M3843</guid>
      <dc:creator>calori</dc:creator>
      <dc:date>2014-04-09T13:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: WFA  to execute unix scripts on a unix server</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-to-execute-unix-scripts-on-a-unix-server/m-p/18305#M3845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, only you need to have SSH server ( e.g. Openssh or FreeSSHD etc.)&amp;nbsp; running on your windows host.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 15:46:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-to-execute-unix-scripts-on-a-unix-server/m-p/18305#M3845</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2014-04-09T15:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: WFA  to execute unix scripts on a unix server</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-to-execute-unix-scripts-on-a-unix-server/m-p/18310#M3847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any example workflow for calling unix script from WFA ? If means can any one share ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 13:13:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-to-execute-unix-scripts-on-a-unix-server/m-p/18310#M3847</guid>
      <dc:creator>SURESH_SENNIAPPAN</dc:creator>
      <dc:date>2014-05-02T13:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: WFA  to execute unix scripts on a unix server</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-to-execute-unix-scripts-on-a-unix-server/m-p/18314#M3849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've already attached the .dar file for the command and also the command code along with the instructions how to use it. You need anything else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 15:59:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-to-execute-unix-scripts-on-a-unix-server/m-p/18314#M3849</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2014-05-02T15:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: WFA  to execute unix scripts on a unix server</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-to-execute-unix-scripts-on-a-unix-server/m-p/18318#M3851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need an example workflow to call the&amp;nbsp; script from the unix server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 04:39:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-to-execute-unix-scripts-on-a-unix-server/m-p/18318#M3851</guid>
      <dc:creator>SURESH_SENNIAPPAN</dc:creator>
      <dc:date>2014-05-21T04:39:55Z</dc:date>
    </item>
  </channel>
</rss>

