<?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 encrypting password for accessing the array in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/encrypting-password-for-accessing-the-array/m-p/77731#M3832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to do this so we don't have to leave plain text password around?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 05:28:45 GMT</pubDate>
    <dc:creator>DJRIVERA01</dc:creator>
    <dc:date>2025-06-05T05:28:45Z</dc:date>
    <item>
      <title>encrypting password for accessing the array</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/encrypting-password-for-accessing-the-array/m-p/77731#M3832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to do this so we don't have to leave plain text password around?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:28:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/encrypting-password-for-accessing-the-array/m-p/77731#M3832</guid>
      <dc:creator>DJRIVERA01</dc:creator>
      <dc:date>2025-06-05T05:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: encrypting password for accessing the array</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/encrypting-password-for-accessing-the-array/m-p/77736#M3833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, try this.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;read-host -assecurestring | convertfrom-securestring | out-file C:\securestring.txt`&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you have the encrypted password file created, you can add the following to your script or run direct from the CLI:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;$username = "domain01\user"&lt;BR /&gt;$password = cat C:\securestring.txt | convertto-securestring&lt;BR /&gt;$cred = new-object -typename System.Management.Automation.PSCredential `&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -argumentlist $username, $password&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, connect-nacontroller controller01 -Credential $cred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 20:48:44 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/encrypting-password-for-accessing-the-array/m-p/77736#M3833</guid>
      <dc:creator>billyd</dc:creator>
      <dc:date>2014-09-11T20:48:44Z</dc:date>
    </item>
  </channel>
</rss>

