<?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 PowerShell Toolkit cmdlet get-nccredential fails in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-cmdlet-get-nccredential-fails/m-p/443440#M6721</link>
    <description>&lt;P&gt;&lt;FONT face="andale mono,times"&gt;Hi all,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;I currently getting some strange response from the "get-nccredential" cmdlet:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;PS C:\Users\markus&amp;gt; import-module dataontap&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;PS C:\Users\markus&amp;gt; get-module&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;ModuleType Version Name ExportedCommands&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;---------- ------- ---- ----------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Manifest 9.12.1.... dataontap {Add-NaAggr, Add-NaCifsShare, Add-NaCredential, Add-NaFpol...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Manifest 3.1.0.0 Microsoft.PowerShell.Management {Add-Computer, Add-Content, Checkpoint-Computer, Clear-Con...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Manifest 3.1.0.0 Microsoft.PowerShell.Utility {Add-Member, Add-Type, Clear-Variable, Compare-Object...}&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Script 2.0.0 PSReadLine {Get-PSReadLineKeyHandler, Get-PSReadLineOption, Remove-PS...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;PS C:\Users\markus&amp;gt; get-nccredential&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;get-nccredential : Cannot process argument because the value of argument "userName" is not valid. Change the value of&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;the "userName" argument and run the operation again.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;At line:1 char:1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;+ get-nccredential&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;+ ~~~~~~~~~~~~~~~~&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;+ CategoryInfo : InvalidArgument: (:) [Get-NcCredential], PSArgumentException&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;+ FullyQualifiedErrorId : Argument,DataONTAP.C.PowerShell.SDK.Cmdlets.Toolkit.Credentials.GetNcCredential&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;PS C:\Users\markus&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;I already tried other versions (9.10.1, 9.11.1) which show the same effect. But it seems a profile related problem, as I can run the cmdlet in an administrator powershell without a problem.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Has anyone an idea how to troubleshoot this further, or a solution?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="2"&gt;Markus&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 09:50:44 GMT</pubDate>
    <dc:creator>MarkusBe</dc:creator>
    <dc:date>2025-06-04T09:50:44Z</dc:date>
    <item>
      <title>PowerShell Toolkit cmdlet get-nccredential fails</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-cmdlet-get-nccredential-fails/m-p/443440#M6721</link>
      <description>&lt;P&gt;&lt;FONT face="andale mono,times"&gt;Hi all,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;I currently getting some strange response from the "get-nccredential" cmdlet:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;PS C:\Users\markus&amp;gt; import-module dataontap&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;PS C:\Users\markus&amp;gt; get-module&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;ModuleType Version Name ExportedCommands&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;---------- ------- ---- ----------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Manifest 9.12.1.... dataontap {Add-NaAggr, Add-NaCifsShare, Add-NaCredential, Add-NaFpol...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Manifest 3.1.0.0 Microsoft.PowerShell.Management {Add-Computer, Add-Content, Checkpoint-Computer, Clear-Con...&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Manifest 3.1.0.0 Microsoft.PowerShell.Utility {Add-Member, Add-Type, Clear-Variable, Compare-Object...}&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Script 2.0.0 PSReadLine {Get-PSReadLineKeyHandler, Get-PSReadLineOption, Remove-PS...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;PS C:\Users\markus&amp;gt; get-nccredential&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;get-nccredential : Cannot process argument because the value of argument "userName" is not valid. Change the value of&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;the "userName" argument and run the operation again.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;At line:1 char:1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;+ get-nccredential&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;+ ~~~~~~~~~~~~~~~~&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;+ CategoryInfo : InvalidArgument: (:) [Get-NcCredential], PSArgumentException&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;+ FullyQualifiedErrorId : Argument,DataONTAP.C.PowerShell.SDK.Cmdlets.Toolkit.Credentials.GetNcCredential&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;PS C:\Users\markus&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;I already tried other versions (9.10.1, 9.11.1) which show the same effect. But it seems a profile related problem, as I can run the cmdlet in an administrator powershell without a problem.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Has anyone an idea how to troubleshoot this further, or a solution?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="4"&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times" size="2"&gt;Markus&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:50:44 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-cmdlet-get-nccredential-fails/m-p/443440#M6721</guid>
      <dc:creator>MarkusBe</dc:creator>
      <dc:date>2025-06-04T09:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Toolkit cmdlet get-nccredential fails</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-cmdlet-get-nccredential-fails/m-p/446606#M6784</link>
      <description>&lt;P&gt;This behavior is expected for the Get-NcCredential cmdlet.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 06:32:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-cmdlet-get-nccredential-fails/m-p/446606#M6784</guid>
      <dc:creator>AmmarMhowwala</dc:creator>
      <dc:date>2023-08-03T06:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Toolkit cmdlet get-nccredential fails</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-cmdlet-get-nccredential-fails/m-p/449816#M6846</link>
      <description>&lt;P&gt;Thanks for your reply and sorry for my late response. I just noticed that there was feedback to my question. So, I have to run this cmdlet as administrator and can't use it as a regular user? Can you give me some more details about it?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2023 14:18:53 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-cmdlet-get-nccredential-fails/m-p/449816#M6846</guid>
      <dc:creator>MarkusBe</dc:creator>
      <dc:date>2023-12-19T14:18:53Z</dc:date>
    </item>
  </channel>
</rss>

