<?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: Credentials issue in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Credentials-issue/m-p/79015#M3866</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help - I tried it out and it did supress the actual login to the controller.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Sep 2014 18:32:01 GMT</pubDate>
    <dc:creator>billyd</dc:creator>
    <dc:date>2014-09-18T18:32:01Z</dc:date>
    <item>
      <title>Credentials issue</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Credentials-issue/m-p/79001#M3863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having trouble in scripts using the &lt;STRONG&gt;-controller &lt;/STRONG&gt;switch on commands.&amp;nbsp; I keep getting an incorrect credentials message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added the credentials (Add-NcCredential) and using the Connect-NcController command works fine and I get connected to the cluster or SVM.&amp;nbsp; I was expecting these saved credentials to be used when I run a command and add the -controller switch, as it is not working I assume that is not the case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a different way to save credentials for this switch to work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can work around the problem by keep changing the cluster of SVM I am connected to, but that makes the scripts inefficient and clumsy, especially when creating a loop that needs to check information on a source and a destination system.&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/Credentials-issue/m-p/79001#M3863</guid>
      <dc:creator>david_ovenden</dc:creator>
      <dc:date>2025-06-05T05:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Credentials issue</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Credentials-issue/m-p/79006#M3864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's what I use to cycle through several controllers in a script.&amp;nbsp; The takeaway is to have a variable that actually connects to the controller be used for the -controller switch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$cred = get-credential admin01&amp;nbsp; # Retrieves the credentials for a user&lt;/P&gt;&lt;P&gt;foreach ($controller in get-content C:\list_of_controllers.txt){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $login = connect-nccontroller $controller -credential $cred&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; get-ncvol -controller $login&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2014 11:27:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Credentials-issue/m-p/79006#M3864</guid>
      <dc:creator>billyd</dc:creator>
      <dc:date>2014-09-12T11:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Credentials issue</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Credentials-issue/m-p/79011#M3865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Billy - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a quick comment.. You are doing this - &lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;$login = connect-nccontroller $controller -credential $cred, so you don't need to do this &lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;-controller $login&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; background-color: #ffffff; font-family: Arial, Helvetica, Verdana, sans-serif;"&gt;you should be able to just type get-ncvol&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; background-color: #ffffff; font-family: Arial, Helvetica, Verdana, sans-serif;"&gt;you have already established a connected to the controller with your $login credentials.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; background-color: #ffffff; font-family: Arial, Helvetica, Verdana, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2014 12:48:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Credentials-issue/m-p/79011#M3865</guid>
      <dc:creator>JGPSHNTAP</dc:creator>
      <dc:date>2014-09-12T12:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Credentials issue</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Credentials-issue/m-p/79015#M3866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help - I tried it out and it did supress the actual login to the controller.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Sep 2014 18:32:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Credentials-issue/m-p/79015#M3866</guid>
      <dc:creator>billyd</dc:creator>
      <dc:date>2014-09-18T18:32:01Z</dc:date>
    </item>
  </channel>
</rss>

