<?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: Error trying to add credential on powershell in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Error-trying-to-add-credential-on-powershell/m-p/456376#M7000</link>
    <description>&lt;P&gt;What version is your PSTK?&lt;/P&gt;&lt;P&gt;Scripts&amp;gt; Import-Module "C:\Users\&amp;lt;User&amp;gt;\Documents\PowerShell\Modules\netapp_ontap\NetApp.ONTAP"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PS C:\Users\user\Scripts&amp;gt; get-natoolkitversion&lt;/P&gt;&lt;P&gt;Major Minor Build Revision&lt;BR /&gt;----- ----- ----- --------&lt;BR /&gt;9 15 1 2410&lt;/P&gt;</description>
    <pubDate>Tue, 05 Nov 2024 00:55:03 GMT</pubDate>
    <dc:creator>Sanaman</dc:creator>
    <dc:date>2024-11-05T00:55:03Z</dc:date>
    <item>
      <title>Error trying to add credential on powershell</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Error-trying-to-add-credential-on-powershell/m-p/456326#M6997</link>
      <description>&lt;P&gt;Please see attached picture, it pops the error message whenver we run "Add-Credential&amp;nbsp; ip-address -cred CredInfo" and supplying password.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help any useful idea/info. thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Segun_0-1730499461170.png" style="width: 400px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/29360i444F513CC2832FF5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Segun_0-1730499461170.png" alt="Segun_0-1730499461170.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 22:18:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Error-trying-to-add-credential-on-powershell/m-p/456326#M6997</guid>
      <dc:creator>Segun</dc:creator>
      <dc:date>2024-11-01T22:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error trying to add credential on powershell</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Error-trying-to-add-credential-on-powershell/m-p/456346#M6998</link>
      <description>&lt;P&gt;It works for me&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sanaman_1-1730687648388.png" style="width: 400px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/29371iAD80939B0F9ED53F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sanaman_1-1730687648388.png" alt="Sanaman_1-1730687648388.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can use this way to save the encrypted password (alternative way)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Powershell Store Encrypted Password for auto login&lt;BR /&gt;$credential = Get-Credential&lt;BR /&gt;$credential.password |ConvertFrom-SecureString |set-Content C:\Users\&amp;lt;user_name&amp;gt;\encrypted_password.txt&lt;BR /&gt;$encrypted = Get-Content C:\Users\&amp;lt;user_name&amp;gt;\encrypted_password.txt | ConvertTo-SecureString&lt;BR /&gt;$dom_user = "domain\user_name"&lt;BR /&gt;$credential = New-Object System.Management.Automation.PsCredential($dom_user, $encrypted)&lt;/P&gt;&lt;P&gt;Add-NcCredential -Controller &amp;lt;controller&amp;gt; -credential $credential&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 02:46:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Error-trying-to-add-credential-on-powershell/m-p/456346#M6998</guid>
      <dc:creator>Sanaman</dc:creator>
      <dc:date>2024-11-04T02:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error trying to add credential on powershell</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Error-trying-to-add-credential-on-powershell/m-p/456371#M6999</link>
      <description>&lt;P&gt;Thank you Sanaman,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I tried your recommended script and still getting error shown in below attachment.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 21:20:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Error-trying-to-add-credential-on-powershell/m-p/456371#M6999</guid>
      <dc:creator>Segun</dc:creator>
      <dc:date>2024-11-04T21:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error trying to add credential on powershell</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Error-trying-to-add-credential-on-powershell/m-p/456376#M7000</link>
      <description>&lt;P&gt;What version is your PSTK?&lt;/P&gt;&lt;P&gt;Scripts&amp;gt; Import-Module "C:\Users\&amp;lt;User&amp;gt;\Documents\PowerShell\Modules\netapp_ontap\NetApp.ONTAP"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PS C:\Users\user\Scripts&amp;gt; get-natoolkitversion&lt;/P&gt;&lt;P&gt;Major Minor Build Revision&lt;BR /&gt;----- ----- ----- --------&lt;BR /&gt;9 15 1 2410&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 00:55:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Error-trying-to-add-credential-on-powershell/m-p/456376#M7000</guid>
      <dc:creator>Sanaman</dc:creator>
      <dc:date>2024-11-05T00:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error trying to add credential on powershell</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Error-trying-to-add-credential-on-powershell/m-p/456404#M7001</link>
      <description>&lt;P&gt;Same as you have up there. First pic is the new environment we want it on and it has same kitversion you shared. second picture is one of our very old environment that has everything working perfectly ok with version 4&amp;nbsp; 1&amp;nbsp; 0&amp;nbsp; 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-11-05 094305.png" style="width: 999px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/29389iFB5A8655ECFDA3B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-11-05 094305.png" alt="Screenshot 2024-11-05 094305.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Old.png" style="width: 328px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/29390i84A740B0541BE101/image-size/large?v=v2&amp;amp;px=999" role="button" title="Old.png" alt="Old.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 14:49:12 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Error-trying-to-add-credential-on-powershell/m-p/456404#M7001</guid>
      <dc:creator>Segun</dc:creator>
      <dc:date>2024-11-05T14:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error trying to add credential on powershell</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Error-trying-to-add-credential-on-powershell/m-p/456462#M7002</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Sanaman,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i ended up downgrading to&amp;nbsp;Major (4)&amp;nbsp; Minor (1)&amp;nbsp; Build&amp;nbsp; (0) Revision&amp;nbsp;(0) with your "Add-NcCredential -Controller &amp;lt;controller&amp;gt; -credential $credential"&amp;nbsp; command against my initial&amp;nbsp;"Add-Credential&amp;nbsp; ip-address -cred CredInfo" and it worked. Thanks so much.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2024 17:13:44 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Error-trying-to-add-credential-on-powershell/m-p/456462#M7002</guid>
      <dc:creator>Segun</dc:creator>
      <dc:date>2024-11-06T17:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error trying to add credential on powershell</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Error-trying-to-add-credential-on-powershell/m-p/457603#M7019</link>
      <description>&lt;P&gt;Hi Sanaman,&lt;/P&gt;&lt;P&gt;What version did you upgrade to?&lt;BR /&gt;How did you downgrade?&lt;BR /&gt;Unfortunately I have the same problem...&lt;BR /&gt;A thousand thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2024 17:29:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Error-trying-to-add-credential-on-powershell/m-p/457603#M7019</guid>
      <dc:creator>Luis_KawaZ750</dc:creator>
      <dc:date>2024-12-24T17:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error trying to add credential on powershell</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Error-trying-to-add-credential-on-powershell/m-p/457604#M7020</link>
      <description>&lt;P&gt;had issues with 9&amp;nbsp; &amp;nbsp;15&amp;nbsp; 1&amp;nbsp; &amp;nbsp;2410,&amp;nbsp; had our tech team downgrade to&amp;nbsp;&lt;SPAN&gt;version 4&amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp;0&amp;nbsp; &amp;nbsp;0 which we have on other hosts. i was not in picture of the downgrading process.. maybe&amp;nbsp; &amp;nbsp;Sanaman&amp;nbsp;&lt;SPAN class=""&gt;or someone else could help.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2024 19:54:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Error-trying-to-add-credential-on-powershell/m-p/457604#M7020</guid>
      <dc:creator>Segun</dc:creator>
      <dc:date>2024-12-24T19:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error trying to add credential on powershell</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Error-trying-to-add-credential-on-powershell/m-p/457605#M7021</link>
      <description>&lt;P&gt;Thanks a lot Sanaman,&lt;/P&gt;&lt;P&gt;I downgrade to version 9.15.1.2407 ad this works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for your support&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2024 20:32:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Error-trying-to-add-credential-on-powershell/m-p/457605#M7021</guid>
      <dc:creator>Luis_KawaZ750</dc:creator>
      <dc:date>2024-12-24T20:32:07Z</dc:date>
    </item>
  </channel>
</rss>

