<?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 - Generate Random Password ? in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Generate-Random-Password/m-p/106041#M18742</link>
    <description>&lt;P&gt;Sheel,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Your workflow has fundamental errors. I'm not going to explain them all, there are many.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But will resolve your query. To pass dynamically generated password to the next command use Powershell cmdlet : Add-WfaWorkflowParameter and Get-WfaWorkflowParameter in your next command. See how to to use them go-to &lt;FONT color="#008000"&gt;WFA-&amp;gt;Help-&amp;gt;Support Links -&amp;gt; WFA Powershell cmdlets help&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#008000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#008000"&gt;See the below command code for your help:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#008000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#008000"&gt;##Random Password&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#008000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;param&lt;BR /&gt;(&lt;BR /&gt;[parameter(Mandatory=$true, HelpMessage="Parameter Name")]&lt;BR /&gt;[string]$ParameterName&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add-Type -AssemblyName System.web&lt;BR /&gt;$Password = [Web.Security.Membership]::GeneratePassword(12,3)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Get-WFALogger -Info -message $("Generated " +$ParameterName+":"+$&lt;SPAN&gt;Password &lt;/SPAN&gt;)&lt;BR /&gt;Add-WfaWorkflowParameter -Name $ParameterName -Value $&lt;SPAN&gt;P&lt;/SPAN&gt;&lt;SPAN&gt;assword&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;#next command Print The password&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;param&lt;BR /&gt;(&lt;BR /&gt;[parameter(Mandatory=$true, HelpMessage="Parameter Name")]&lt;BR /&gt;[string]$ParameterName&lt;/P&gt;&lt;P&gt;)&lt;BR /&gt;&lt;BR /&gt;$&lt;SPAN&gt;P&lt;/SPAN&gt;&lt;SPAN&gt;assword&lt;/SPAN&gt; = Get-WfaWorkflowParameter -Name $ParameterName&lt;BR /&gt;Get-WFALogger -Info -message $("Value of "+$ParameterName+" : " + $&lt;SPAN&gt;P&lt;/SPAN&gt;&lt;SPAN&gt;assword&lt;/SPAN&gt; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#008000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#008000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jun 2015 11:04:19 GMT</pubDate>
    <dc:creator>sinhaa</dc:creator>
    <dc:date>2015-06-10T11:04:19Z</dc:date>
    <item>
      <title>WFA - Generate Random Password ?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Generate-Random-Password/m-p/105975#M18732</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a workflow which should be able to create a user on a Netapp Cluster mode system.&lt;/P&gt;&lt;P&gt;For that an idea was to be able to generate the random password and send it over an email.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i am not able to pass the password string on to next command.&lt;/P&gt;&lt;P&gt;Attached a test workflow which sould create a password and prints from next command but its not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;,Sheel&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:10:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Generate-Random-Password/m-p/105975#M18732</guid>
      <dc:creator>sheelnidhig</dc:creator>
      <dc:date>2025-06-05T04:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: WFA - Generate Random Password ?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Generate-Random-Password/m-p/106041#M18742</link>
      <description>&lt;P&gt;Sheel,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Your workflow has fundamental errors. I'm not going to explain them all, there are many.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But will resolve your query. To pass dynamically generated password to the next command use Powershell cmdlet : Add-WfaWorkflowParameter and Get-WfaWorkflowParameter in your next command. See how to to use them go-to &lt;FONT color="#008000"&gt;WFA-&amp;gt;Help-&amp;gt;Support Links -&amp;gt; WFA Powershell cmdlets help&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#008000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#008000"&gt;See the below command code for your help:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#008000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#008000"&gt;##Random Password&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#008000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;param&lt;BR /&gt;(&lt;BR /&gt;[parameter(Mandatory=$true, HelpMessage="Parameter Name")]&lt;BR /&gt;[string]$ParameterName&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add-Type -AssemblyName System.web&lt;BR /&gt;$Password = [Web.Security.Membership]::GeneratePassword(12,3)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Get-WFALogger -Info -message $("Generated " +$ParameterName+":"+$&lt;SPAN&gt;Password &lt;/SPAN&gt;)&lt;BR /&gt;Add-WfaWorkflowParameter -Name $ParameterName -Value $&lt;SPAN&gt;P&lt;/SPAN&gt;&lt;SPAN&gt;assword&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;#next command Print The password&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;param&lt;BR /&gt;(&lt;BR /&gt;[parameter(Mandatory=$true, HelpMessage="Parameter Name")]&lt;BR /&gt;[string]$ParameterName&lt;/P&gt;&lt;P&gt;)&lt;BR /&gt;&lt;BR /&gt;$&lt;SPAN&gt;P&lt;/SPAN&gt;&lt;SPAN&gt;assword&lt;/SPAN&gt; = Get-WfaWorkflowParameter -Name $ParameterName&lt;BR /&gt;Get-WFALogger -Info -message $("Value of "+$ParameterName+" : " + $&lt;SPAN&gt;P&lt;/SPAN&gt;&lt;SPAN&gt;assword&lt;/SPAN&gt; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#008000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#008000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2015 11:04:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Generate-Random-Password/m-p/106041#M18742</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2015-06-10T11:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: WFA - Generate Random Password ?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Generate-Random-Password/m-p/106081#M18746</link>
      <description>&lt;P&gt;Thanks Sinhaa, atleast this works for me:-)&lt;/P&gt;&lt;P&gt;Would it be possible to point out the errors that you saw in the workflow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;,Sheel&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2015 18:49:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Generate-Random-Password/m-p/106081#M18746</guid>
      <dc:creator>sheelnidhig</dc:creator>
      <dc:date>2015-06-10T18:49:29Z</dc:date>
    </item>
  </channel>
</rss>

