<?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 - errors when connecting to cluster in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-errors-when-connecting-to-cluster/m-p/123541#M5058</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am new to this Powershell toolkit. I am able to conenct to the cluster but getting below Errors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can some one help me&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;PS C:\Users\ranggo03&amp;gt; Connect-NcController 1X.xx.xx.xxx -Credential $nacred -HTTPS
Name                 Address           Vserver              Version
----                 -------           -------              -------
10.7.56.132          10.7.56.132                            NetApp Release 8.2.4 Cluster-Mode: Tue Oct 27 14:12:25 PDT

PS C:\Users\ranggo03&amp;gt; Get-NaVfiler
Get-NaVfiler : Value in $global:CurrentNaController is not of type NetApp.Ontapi.Filer.NaController
At line:1 char:1
+ Get-NaVfiler
+ ~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Get-NaVfiler], ArgumentException
    + FullyQualifiedErrorId : ControllerNotSpecified,DataONTAP.PowerShell.SDK.Cmdlets.Vfiler.GetNaVfiler
PS C:\Users\ranggo03&amp;gt; $global:CurrentNaController.TimeoutMsec = 60000
Property 'TimeoutMsec' cannot be found on this object; make sure it exists and is settable.
At line:1 char:1
+ $global:CurrentNaController.TimeoutMsec = 60000
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound
PS C:\Users\ranggo03&amp;gt;
PS C:\Users\ranggo03&amp;gt;
PS C:\Users\ranggo03&amp;gt; Get-NaVol
Get-NaVol : Value in $global:CurrentNaController is not of type NetApp.Ontapi.Filer.NaController
At line:1 char:1
+ Get-NaVol
+ ~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Get-NaVol], ArgumentException
    + FullyQualifiedErrorId : ControllerNotSpecified,DataONTAP.PowerShell.SDK.Cmdlets.Volume.GetNaVol
PS C:\Users\ranggo03&amp;gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 18:56:11 GMT</pubDate>
    <dc:creator>Rangan</dc:creator>
    <dc:date>2025-06-04T18:56:11Z</dc:date>
    <item>
      <title>PowerShell Toolkit - errors when connecting to cluster</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-errors-when-connecting-to-cluster/m-p/123541#M5058</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am new to this Powershell toolkit. I am able to conenct to the cluster but getting below Errors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can some one help me&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;PS C:\Users\ranggo03&amp;gt; Connect-NcController 1X.xx.xx.xxx -Credential $nacred -HTTPS
Name                 Address           Vserver              Version
----                 -------           -------              -------
10.7.56.132          10.7.56.132                            NetApp Release 8.2.4 Cluster-Mode: Tue Oct 27 14:12:25 PDT

PS C:\Users\ranggo03&amp;gt; Get-NaVfiler
Get-NaVfiler : Value in $global:CurrentNaController is not of type NetApp.Ontapi.Filer.NaController
At line:1 char:1
+ Get-NaVfiler
+ ~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Get-NaVfiler], ArgumentException
    + FullyQualifiedErrorId : ControllerNotSpecified,DataONTAP.PowerShell.SDK.Cmdlets.Vfiler.GetNaVfiler
PS C:\Users\ranggo03&amp;gt; $global:CurrentNaController.TimeoutMsec = 60000
Property 'TimeoutMsec' cannot be found on this object; make sure it exists and is settable.
At line:1 char:1
+ $global:CurrentNaController.TimeoutMsec = 60000
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound
PS C:\Users\ranggo03&amp;gt;
PS C:\Users\ranggo03&amp;gt;
PS C:\Users\ranggo03&amp;gt; Get-NaVol
Get-NaVol : Value in $global:CurrentNaController is not of type NetApp.Ontapi.Filer.NaController
At line:1 char:1
+ Get-NaVol
+ ~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Get-NaVol], ArgumentException
    + FullyQualifiedErrorId : ControllerNotSpecified,DataONTAP.PowerShell.SDK.Cmdlets.Volume.GetNaVol
PS C:\Users\ranggo03&amp;gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 18:56:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-errors-when-connecting-to-cluster/m-p/123541#M5058</guid>
      <dc:creator>Rangan</dc:creator>
      <dc:date>2025-06-04T18:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Toolkit - errors when connecting to cluster</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-errors-when-connecting-to-cluster/m-p/123548#M5059</link>
      <description>&lt;P&gt;you are running 7-mode commands&amp;nbsp;but connected to cDOT -&lt;/P&gt;&lt;P&gt;try get-ncvol instead of get-navol&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;m&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2016 19:21:48 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Toolkit-errors-when-connecting-to-cluster/m-p/123548#M5059</guid>
      <dc:creator>markweber</dc:creator>
      <dc:date>2016-09-23T19:21:48Z</dc:date>
    </item>
  </channel>
</rss>

