<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Hyper-V — NetApp Community</title>
        <link>https://community.netapp.com/community/</link>
        <pubDate>Mon, 24 Aug 2026 10:49:48 +0000</pubDate>
        <language>en</language>
            <description>Hyper-V — NetApp Community</description>
    <atom:link href="https://community.netapp.com/community/discussions/tagged/hyper-v/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>SVM Connected NetApp ONTAP Powershell Toolkit, Get-NcVol returns 403 Errors when QoS policy applied</title>
        <link>https://community.netapp.com/community/discussion/467368/svm-connected-netapp-ontap-powershell-toolkit-get-ncvol-returns-403-errors-when-qos-policy-applied</link>
        <pubDate>Fri, 22 May 2026 15:35:24 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>GlennW</dc:creator>
        <guid isPermaLink="false">467368@/community/discussions</guid>
        <description><![CDATA[<div><p>Troubleshooting: enabled PSTK debugging</p><ul><li>ERROR DataONTAP.C.PowerShell.SDK.NcRestInterface - The remote server returned an error: (403) Forbidden.</li><li>ONTAP does not allow the QoS commands to be assigned to any role at the SVM level &ndash; so&nbsp; can&rsquo;t fix this by adding a permission</li><li>Although ZAPI works, dropping back to using ZAPI is not a viable solution, as it&rsquo;s only maintained for &ldquo;legacy&rdquo; and on a sunset path</li></ul><p><strong>To reproduce</strong><br />a. Install PowerShell toolkit<br />b. Setup vsadmin user on an SVM<br />c. Setup management lif on the SVM<br />d. Connect to the SVM management lif with the vsadmin account (or account with vsadmin assigned)<br />e. Execute Get-NcVol, with no QoS policies applied &ndash; success, no errors<br />f. Apply QoS policy or Adaptive QoS policy to a volume<br />g. Execute Get-NcVol again, 403 error occurs<br />h. Enable debug level logging, Set-NaToolKitConfiguration -LogLevel DEBUG<br />i. Note the qos/policies endpoint being attempted</p><p>Reproduced using PowerShell Toolkit 9.15.1, 9.16.1, and 9.17.1 &ndash; connecting to ONTAP 9.16.1P8 and ONTAP 9.17.1P7<br />&nbsp;</p><p>Idea/suggestions on long term fix?&nbsp;</p></div>]]>
        </description>
    </item>
    <item>
        <title>NetApp PowerShell Toolkit 9.12.1.2302 / &quot;New-NcVol&quot; -language parameter broken/not working</title>
        <link>https://community.netapp.com/community/discussion/445436/netapp-powershell-toolkit-9-12-1-2302-new-ncvol-language-parameter-broken-not-working</link>
        <pubDate>Thu, 22 Jun 2023 10:10:30 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>MarcelM</dc:creator>
        <guid isPermaLink="false">445436@/community/discussions</guid>
        <description><![CDATA[<div><p>Hello *,</p><p>after upgrading NetApp PSTK to latest version 9.12.1.2302 on our win 2012R2 script host and running some dr scripts i noticed a possible error/bug in "New-NcVol" command.</p><p>When using the parameter -language PS runs the new new-ncvol command without any errors but no volume will be created. I tried every possible combination but no volume wil be created. When leaving out the parameter volume will be created but we need to have a different language from svm root volume.</p><p>Can anyone confirm the same problem when using -language?</p><p>Currently it seems like every version of PSTK has its own big bugs which leaves them nearly unusable.</p></div>]]>
        </description>
    </item>
    <item>
        <title>Failing Connect-NcController Command</title>
        <link>https://community.netapp.com/community/discussion/466186/failing-connect-nccontroller-command</link>
        <pubDate>Fri, 06 Mar 2026 19:07:08 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>TMADOCTHOMAS</dc:creator>
        <guid isPermaLink="false">466186@/community/discussions</guid>
        <description><![CDATA[<div><p>Hello,</p><p>I am setting up a new 2022 Windows server to run PowerShell scripts on NetApp. I installed the latest version of the PowerShell Toolkit [<span>9.18.1.2601] and am running a few basic commands to test. Running&nbsp;<strong>Import-Module NetApp.ONTAP</strong> seems to work fine. However, when I run&nbsp;<strong>Connect-NcController</strong>, I get the following error. This is with and without the -Ontapi switch. Any suggestions?<br /></span></p><p><span>---------------------------------------------------------------------<br />Connect-NcController : Could not load file or assembly 'System.Security.Principal.Windows, Version=4.1.1.0,<br />Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file<br />specified.<br />At line:1 char:1<br />+ Connect-NcController -Name &lt;cluster_name&gt; -OnTapi<br />+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />+ CategoryInfo : NotSpecified: (:) [Connect-NcController], FileNotFoundException<br />+ FullyQualifiedErrorId : System.IO.FileNotFoundException,DataONTAP.C.PowerShell.SDK.ConnectNcController<br /></span></p></div>]]>
        </description>
    </item>
    <item>
        <title>NetApp Shift Discovery Error EDSCGMTP002</title>
        <link>https://community.netapp.com/community/discussion/462490/netapp-shift-discovery-error-edscgmtp002</link>
        <pubDate>Wed, 06 Aug 2025 15:24:34 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>James3</dc:creator>
        <guid isPermaLink="false">462490@/community/discussions</guid>
        <description><![CDATA[<div><p>We have been using NetApp Shift to convert our VMs from VMware to Hyper-V.&nbsp; I am now starting on our second group of hosts running through a different vcenter server.&nbsp; And it will not do a discovery of that cluster.&nbsp; It will discover the VMs, then fail on&nbsp;Discovering volumes and mapping to VMs.</p><p>We have a primary and a disaster recovery cluster both with their own vcenter, it fails to discover either.&nbsp; They are using Zerto to replicate between the two.</p><p>I am wondering if it is because that cluster is running Zerto replication.&nbsp; Is Shift and Zerto compatible?</p><p><strong>EDSCGMTP002: Mount paths are empty while getting volumes for mountpaths for site - undefined</strong></p><pre><code>[
  [
    {
      "uid": "f6d211d8-3b79-4992-be93-036a2781e930",
      "code": "ECRUAFAC002",
      "message": "ECRUAFAC002: The server returned HTTP status 500 while performing \"POST\" on endpoint - \"https://10.230.64.128:3700/api/setup/volume/discovery?siteId=3a59d1a2-7930-4b99-871d-d85890ef356e&amp;virtEnvId=1d79524f-8dab-4fa2-8aae-9a77f85c386b\"; Error code: \"ERR_BAD_RESPONSE\"; Error message: \"Check error chain\"",
      "level": "error",
      "endPoint": "",
      "stack": "SystemError: ECRUAFAC002: The server returned HTTP status 500 while performing \"POST\" on endpoint - \"https://10.230.64.128:3700/api/setup/volume/discovery?siteId=3a59d1a2-7930-4b99-871d-d85890ef356e&amp;virtEnvId=1d79524f-8dab-4fa2-8aae-9a77f85c386b\"; Error code: \"ERR_BAD_RESPONSE\"; Error message: \"Check error chain\"\n    at catchErr (C:\\snapshot\\draas\\core\\lib\\stepWorker\\utils\\axiosf.js)\n    at Object.post (C:\\snapshot\\draas\\core\\lib\\stepWorker\\utils\\axiosf.js)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async invokeSvc (C:\\snapshot\\draas\\core\\lib\\stepWorker\\ext\\stepTypes\\rest.js)\n    at async Object.execute (C:\\snapshot\\draas\\core\\lib\\stepWorker\\ext\\stepTypes\\rest.js)\n    at async executeStep (C:\\snapshot\\draas\\core\\lib\\stepWorker\\stepWorker.js)"
    },
    {
      "uid": "1bc06a49-f85f-454d-b8f3-9cc94217e8a1",
      "code": "ECRUAFAC002",
      "message": "ECRUAFAC002: The server returned HTTP status 500 while performing \"POST\" on endpoint - \"https://10.230.64.128:3701/api/discovery/site/3a59d1a2-7930-4b99-871d-d85890ef356e/volume/search\"; Error code: \"ERR_BAD_RESPONSE\"; Error message: \"Check error chain\"",
      "level": "error",
      "endPoint": "/volume/discovery?siteId=3a59d1a2-7930-4b99-871d-d85890ef356e&amp;virtEnvId=1d79524f-8dab-4fa2-8aae-9a77f85c386b",
      "stack": "SystemError: ECRUAFAC002: The server returned HTTP status 500 while performing \"POST\" on endpoint - \"https://10.230.64.128:3701/api/discovery/site/3a59d1a2-7930-4b99-871d-d85890ef356e/volume/search\"; Error code: \"ERR_BAD_RESPONSE\"; Error message: \"Check error chain\"\n    at catchErr (C:\\snapshot\\draas\\draas\\draas-setup\\utils\\axiosf.js)\n    at Object.post (C:\\snapshot\\draas\\draas\\draas-setup\\utils\\axiosf.js)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Object.execute (C:\\snapshot\\draas\\draas\\draas-setup\\adapters\\discovery\\discoverVolumes.js)\n    at async execute (C:\\snapshot\\draas\\draas\\draas-setup\\actions\\discoverVolumes.js)\n    at async Object.execute (C:\\snapshot\\draas\\draas\\draas-setup\\controllers\\mapVolumesToVMsController.js)\n    at async Object.fn (C:\\snapshot\\draas\\draas\\draas-setup\\utils\\routerUtils.js)\n    at async Object.executeController (C:\\snapshot\\draas\\draas\\draas-setup\\utils\\routerUtils.js)"
    },
    {
      "uid": "36326c7c-d10b-4216-a217-f436c1bfa502",
      "code": "EDSCGMTP002",
      "message": "EDSCGMTP002: Mount paths are empty while getting volumes for mountpaths for site - undefined",
      "level": "error",
      "endPoint": "/site/3a59d1a2-7930-4b99-871d-d85890ef356e/volume/search",
      "stack": "ApplicationError: EDSCGMTP002: Mount paths are empty while getting volumes for mountpaths for site - undefined\n    at validateInput (C:\\snapshot\\draas\\draas\\draas-discovery\\controllers\\getVolumesForMountPathsController.js)\n    at Object.execute (C:\\snapshot\\draas\\draas\\draas-discovery\\controllers\\getVolumesForMountPathsController.js)\n    at Object.fn (C:\\snapshot\\draas\\draas\\draas-discovery\\utils\\routerUtils.js)\n    at Object.executeController (C:\\snapshot\\draas\\draas\\draas-discovery\\utils\\routerUtils.js)\n    at C:\\snapshot\\draas\\draas\\draas-discovery\\routers\\discoveryRouter.js\n    at Layer.handle [as handle_request] (C:\\snapshot\\draas\\draas\\draas-discovery\\node_modules\\express\\lib\\router\\layer.js:95:5)\n    at next (C:\\snapshot\\draas\\draas\\draas-discovery\\node_modules\\express\\lib\\router\\route.js:144:13)\n    at Route.dispatch (C:\\snapshot\\draas\\draas\\draas-discovery\\node_modules\\express\\lib\\router\\route.js:114:3)\n    at Layer.handle [as handle_request] (C:\\snapshot\\draas\\draas\\draas-discovery\\node_modules\\express\\lib\\router\\layer.js:95:5)\n    at C:\\snapshot\\draas\\draas\\draas-discovery\\node_modules\\express\\lib\\router\\index.js:284:15"
    }
  ]
]</code></pre></div>]]>
        </description>
    </item>
    <item>
        <title>First cmdlet always fails with limited role.</title>
        <link>https://community.netapp.com/community/discussion/460080/first-cmdlet-always-fails-with-limited-role</link>
        <pubDate>Fri, 11 Apr 2025 12:40:05 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>ckeith</dc:creator>
        <guid isPermaLink="false">460080@/community/discussions</guid>
        <description><![CDATA[<div><p>I'm trying to abide by the Least Privilege model and create a role that only has the privileges needed to run a PowerShell script I plan to run that has these cmdlets:&nbsp;</p><ul><li>Connect-NcController</li><li>Get-NcFile</li><li>new-ncsymlink</li><li>add-nccifssymlink</li><li>Remove-NcCifsSymlink</li><li>Remove-NcFile</li></ul><p>I have figured out that the Connect-NcController runs a few APIs before it returns so it needs exact privileges. Here is what I have in my role so far:</p><pre>&gt; security login rest-role show -vserver prod1 -role createlink<br />            Role                              Access<br />Vserver     Name          API                 Level<br />----------  ------------- ------------------- ------<br />prod1       createlink     /api/cluster       readonly<br />                           /api/protocols/cifs/unix-symlink-mapping<br />                                              all<br />                           /api/storage/volumes<br />                                              readonly<br />                           "/api/storage/volumes/*/files"<br />                                              all<br />                           /api/svms          readonly</pre><p>When I run&nbsp;Connect-NcController, pointing to a vserver, with the credentials of the account that is assigned the limited role, it seems to connect just fine. However, no matter which cmdlet I run afterward, I get the following error:</p><pre>The remote server returned an error: (403) Forbidden.</pre><p>After that one failed cmdlet, the rest of them run just fine. If I authenticate with an account that has more privileges (e.g. vsadmin-volume) it doesn't have this issue. So, I assume it is a privilege problem, but I have no way of knowing which one. As far as I can tell 'security audit log show' doesn't show API calls that were declined for lack of permission so I can't figure it out that way. I already added the /api/clusters and /api/svms to get as far as I have.</p><p>One oddity that I did see from 'security audit log show' was when I run with the limited role, I see this API get called, but never finish (i.e. I only see the "Pending" and not "Sucess" or "Error")</p><pre>GET /api/private/cli/system/node/virtual-machine/instance/show-settings?fields=consumer :: Pending</pre><p>When I run with an account with more privileges, that API call finishes. I tried giving permissions to that API path to my limited role, but it didn't seem to help, in that the problem is still there, and that API never seems to generate any results.</p><p>If anyone has any ideas how to resolve this problem, I would be greatly appreciative. Is there a way to get the cmdlets to show the APIs it is making?</p><p>And if you can't help with that, can you help me totally suppress the error message? I tried adding -ErrorAction SilentlyContintue but I still see an error.</p><p>Here is the script I am running:</p><pre>$controller = "198.19.255.116" # Vserver Management port<br />#<br /># This is the path to where you want the symbolic link to reside using<br /># a full path starting with /vol/volume_name/<br />$fileToCreate = "/vol/app1/testlink"<br />#<br /># This is where you want the link to point to. It should NOT start with<br /># /vol/volume_name/ and MUST end with a '/'. For a UNIX client, it will<br /># be redirected to this path.<br />$whereToPointTo = "/test-destination/subdir/"<br />#<br /># For a CIFS client, with a CIFS Symbolic link, they don't follow the<br /># path the UNIX link points to, it is more of a pattern match<br /># and is replaced with what $cifsPath is set to.<br />$cifsPath = "/cifspath/"<br />#<br /># If using a "wide" CIFS Symbolic link, the client can be redirected to<br /># another CIFS share as well as the path. But, in this case, we are<br /># using a "local" CIFS Symbolic Link, so the client will be redirected<br /># to the same share where the link resides.<br />$shareName = "app1"<br />#<br /># Create credentials based on the username and password above.<br />$connection = Connect-NcController -Name $controller -Credential(Get-Credential)<br />if ($connection -ne $null) {<br />  Write-Host "Connected to $controller as $username."<br />  #<br />  # Since for some strings reason the first call always fails, so just do one and ignore it.<br />  # Unfortunately, this command generates an error message no matter what I set the ErrorAction<br />  # to. There might be another command that will honor it.<br />  Get-NcFile -Path $fileToCreate -ErrorAction SilentlyContinue -WarningAction SilentlyContinue<br />} else {<br />  Write-Host "Failed to connect to $controller!"<br />  exit<br />}<br />#<br /># Check to see if the file already exists. If it does, remove it.<br />$fileProperties = Get-NcFile -Path $fileToCreate -ErrorAction SilentlyContinue -WarningAction SilentlyContinue<br />if ($fileProperties -ne $null ) {<br />  write-host "Removing cifssymlink $whereToPointTo"<br />  Remove-NcCifsSymlink -UnixPath $whereToPointTo -Confirm:$false<br />  Write-Host "Removing UNIX link $fileToCreate"<br />  Remove-NcFile -Path $fileToCreate -Confirm:$false<br />}<br /><br />write-host "Creating new UNIX symlink $fileToCreate to $whereToPointTo"<br />new-ncsymlink &ndash;target $whereToPointTo &ndash;linkname $fileToCreate<br />write-host "Creating new cifs symlink for $whereToPointTo should redirect to $sharename$whereToPointTo$cifsPath"<br />add-nccifssymlink &ndash;unixpath $whereToPointTo -cifspath $cifsPath -locality local &ndash;sharename $shareName</pre></div>]]>
        </description>
    </item>
    <item>
        <title>Feature Request: FIPS-Compliant SSH Support in NetApp ONTAP PowerShell Toolkit</title>
        <link>https://community.netapp.com/community/discussion/465817/feature-request-fips-compliant-ssh-support-in-netapp-ontap-powershell-toolkit</link>
        <pubDate>Fri, 20 Feb 2026 19:11:35 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>GLENYU5820</dc:creator>
        <guid isPermaLink="false">465817@/community/discussions</guid>
        <description><![CDATA[<div><p><span>I would like to submit a feature enhancement request regarding the NetApp ONTAP PowerShell Toolkit.</span></p><p><span>In our environment, Windows FIPS mode is enabled (&ldquo;System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing&rdquo;). Under this configuration, the Invoke-NcSSH cmdlet fails because the underlying SSH implementation does not use FIPS-validated cryptographic providers.</span></p><p><span>As a result, we are unable to use Invoke-NcSSH in our production automation workflows, even though SSH access itself is permitted. This creates a limitation for customers operating in security-hardened or compliance-regulated environments (e.g., FIPS 140-2/140-3).</span></p><p><span>We would like to request that NetApp consider implementing a FIPS-compliant SSH option in the ONTAP PowerShell Toolkit. Possible approaches could include:</span></p><ul><li><p><span>Leveraging Windows&rsquo; built-in OpenSSH client or system crypto providers</span></p></li><li><p><span>Using a FIPS-validated cryptographic library</span></p></li><li><p><span>Providing an alternative secure transport mechanism that meets FIPS requirements</span></p></li></ul><p><span>FIPS compliance is increasingly required in enterprise and government environments, and having native support within the PowerShell Toolkit would greatly improve its usability in secure deployments.</span></p><p><span>Please let us know if this enhancement request can be logged formally (PER) and whether there are any current or planned roadmap items addressing FIPS compliance for SSH functionality in the toolkit.</span></p><p><span>Thank you for your time and consideration.</span></p></div>]]>
        </description>
    </item>
    <item>
        <title>NetApp SANtricity (E-Series) for hyper cluster</title>
        <link>https://community.netapp.com/community/discussion/464699/netapp-santricity-e-series-for-hyper-cluster</link>
        <pubDate>Thu, 04 Dec 2025 08:54:02 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>Giulian</dc:creator>
        <guid isPermaLink="false">464699@/community/discussions</guid>
        <description><![CDATA[<div><p>Hello,<br />We have a NetApp SANtricity (E-Series) array and are planning to use it as storage for a Hyper-V cluster (Windows Server).</p><ul><li>Has anyone implemented this setup before?</li><li>What are your experiences regarding performance and stability?</li><li>Are there any best practices or pitfalls to be aware of (iSCSI, MPIO, CSV, etc.)?<br /><br /></li></ul><p>I know Ontap is better for this usage but can i have real good performances for VM on production environnement ?&nbsp;</p><p>Thanks for your feedback and recommendations!</p></div>]]>
        </description>
    </item>
    <item>
        <title>Get-NcVol missing volumes in PowerShell 7</title>
        <link>https://community.netapp.com/community/discussion/464084/get-ncvol-missing-volumes-in-powershell-7</link>
        <pubDate>Wed, 05 Nov 2025 15:43:52 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>Hackysack</dc:creator>
        <guid isPermaLink="false">464084@/community/discussions</guid>
        <description><![CDATA[<div><p>Hi everyone.</p><p>I'm fairly new to PowerShell. I was tasked with verifying all of our scripts run in PowerShell 7. Currently they are running in PowerShell 5.&nbsp;&nbsp;When used in PowerShell 5, the Get-NcVol command works perfectly, but in PowerShell 7 it misses nearly all of our volumes.&nbsp; I installed the latest version of NetApp PowerShell Toolkit (ver. 9.17.1), but no change. I'm puzzled by this behavior.</p><p>The main issue right now is the command:&nbsp;&nbsp;<strong>Get-NcVol</strong>.&nbsp;&nbsp;</p><p><em>Example:&nbsp; PowerShell 5.</em></p><p>&nbsp; &nbsp; &nbsp;PS C:\Users\_dhiggins&gt; $volumes = Get-NcVol</p><p>&nbsp; &nbsp; &nbsp;PS C:\Users\_dhiggins&gt; $volumes.count<br />&nbsp; &nbsp; &nbsp;566&nbsp; &nbsp; &lt;--&nbsp;<em>this is correct</em></p><p><em>Example:&nbsp; PowerShell 7:</em></p><p>&nbsp; &nbsp; &nbsp;PS C:\Users\_dhiggins&gt; $volumes = Get-NcVol<br />&nbsp; &nbsp; &nbsp;PS C:\Users\_dhiggins&gt; $volumes.count<br />&nbsp; &nbsp; &nbsp;23&nbsp; &nbsp; &nbsp;<em>&lt;-- Why?? Nothing changed.</em></p><p>We are using Windows Server 2022 Standard, ver. 21H2 (PowerShell 7 is running in Visual Studio Code), fully updated.</p><p>Has anyone encountered this?&nbsp; Do I need to use the Get-NcVol command differently in PS7??&nbsp; I am unable to find a solution. I contacted NetApp and they directed me here.</p><p>Thank you, Doug</p></div>]]>
        </description>
    </item>
    <item>
        <title>Custom role with Remove-NcSnapshot returning error 403, but still deletes snapshots</title>
        <link>https://community.netapp.com/community/discussion/463658/custom-role-with-remove-ncsnapshot-returning-error-403-but-still-deletes-snapshots</link>
        <pubDate>Tue, 14 Oct 2025 23:46:26 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>DAU</dc:creator>
        <guid isPermaLink="false">463658@/community/discussions</guid>
        <description><![CDATA[<div><p>I created a new role that should only have snapshot permissions to volumes ending with _stg:</p><p>security login role create -role stg-admin -vserver dc -cmddirname "volume" -access readonly<br />security login role create -role stg-admin -vserver dc -cmddirname "vserver" -access readonly<br />security login role create -role stg-admin -vserver dc -cmddirname "network interface" -access readonly<br />security login role create -role stg-admin -vserver dc -cmddirname "volume snapshot" -query "-volume *_stg" -access all</p><p>A new user with that role is not able to delete a random snapshot for vol1, but is able to delete snapshots from vol2_stg. So permissions are working properly. The problem is I'm getting "<span>Remove-NcSnapshot : [403]: not authorized for that command" on both examples, even when it does successfully delete the vol2_stg vol snapshot. Am I missing a permission it's expecting even though it is successfully deleting them? Or is this a bug in&nbsp;NetApp.ONTAP module?</span>&nbsp;</p></div>]]>
        </description>
    </item>
    <item>
        <title>Can&#39;t user get-ncdisk command</title>
        <link>https://community.netapp.com/community/discussion/463595/cant-user-get-ncdisk-command</link>
        <pubDate>Mon, 13 Oct 2025 08:45:49 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>unitech89e9</dc:creator>
        <guid isPermaLink="false">463595@/community/discussions</guid>
        <description><![CDATA[<div><p>I use Powershell to create a script,<br />ONTAP Powershell Version is 9.14.1</p><p>I user get-ncdisk command to get disk information,</p><p>and my environment is simulator,</p><p><span>At the beginning</span>&nbsp;the command [get-ncdisk] can be use,</p><p>but s<span>uddenly I can't use get-ncdisk,</span></p><p><span>and system force me to use -zapi to performance,</span></p><p><span>but zapi can't get some information,<br />for example when I don't -use -zapi, I can see Shelf ID<br />but If I use -zapi, the Shelf ID&nbsp;Field is empty,<br />how can fix this problem?</span></p></div>]]>
        </description>
    </item>
    <item>
        <title>How to use new-ncaggr command with -disks parameter?</title>
        <link>https://community.netapp.com/community/discussion/463614/how-to-use-new-ncaggr-command-with-disks-parameter</link>
        <pubDate>Tue, 14 Oct 2025 08:42:23 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>unitech89e9</dc:creator>
        <guid isPermaLink="false">463614@/community/discussions</guid>
        <description><![CDATA[<div><p><span style="font-size: large;">I define 2&nbsp;<span><span><span>variable</span></span></span>&nbsp;</span><br /><span style="font-size: large; color: #3366FF;">$node0disk = get-ncdisk -zapi | Where-Object {($_.Bay -ne 23) -and ($_.DiskRaidInfo.ContainerType -eq "spare") -and ($_.DiskOwnershipInfo.OwnerNodeId -eq $allnode[0].NodeSystemId)}</span><br /><span style="font-size: large; color: #3366FF;">$allnode = get-ncnode</span><br /><br /></p><p><span style="font-size: large;">the $node0disk output is&nbsp;</span></p><p><span style="font-size: large; color: #008000;">Name Shelf Bay Position Capacity RPM FW Model Paths Aggregate</span><br /><span style="font-size: large; color: #008000;">---- ----- --- -------- -------- --- -- ----- ----- ---------</span><br /><span style="font-size: large; color: #008000;">NET-1.38 16 present 4 GB 15k 0042 VD-4000MB-FZ-520 2</span><br /><span style="font-size: large; color: #008000;">NET-1.39 17 present 4 GB 15k 0042 VD-4000MB-FZ-520 2</span><br /><span style="font-size: large; color: #008000;">NET-1.40 18 present 4 GB 15k 0042 VD-4000MB-FZ-520 2</span><br /><span style="font-size: large; color: #008000;">NET-1.41 19 present 4 GB 15k 0042 VD-4000MB-FZ-520 2</span><br /><span style="font-size: large; color: #008000;">NET-1.42 20 present 4 GB 15k 0042 VD-4000MB-FZ-520 2</span><br /><span style="font-size: large; color: #008000;">NET-1.43 21 present 4 GB 15k 0042 VD-4000MB-FZ-520 2</span><br /><span style="font-size: large; color: #008000;">NET-1.44 22 present 4 GB 15k 0042 VD-4000MB-FZ-520 2</span><br /><span style="font-size: large; color: #008000;">NET-1.1 24 present 4 GB 15k 0042 VD-4000MB-FZ-520 2</span><br /><span style="font-size: large; color: #008000;">NET-1.2 25 present 4 GB 15k 0042 VD-4000MB-FZ-520 2</span><br /><span style="font-size: large; color: #008000;">NET-1.3 26 present 4 GB 15k 0042 VD-4000MB-FZ-520 2</span><br /><span style="font-size: large; color: #008000;">NET-1.4 27 present 4 GB 15k 0042 VD-4000MB-FZ-520 2</span><br /><span style="font-size: large; color: #008000;">NET-1.5 28 present 4 GB 15k 0042 VD-4000MB-FZ-520 2</span><br /><span style="font-size: large; color: #008000;">NET-1.6 29 present 4 GB 15k 0042 VD-4000MB-FZ-520 2</span><br /><span style="font-size: large; color: #008000;">NET-1.35 32 present 4 GB 15k 0042 VD-4000MB-FZ-520 2</span></p><p><span style="font-size: large;">and I use the command</span><br /><span style="font-size: large; color: #0000FF;">new-ncaggr aggr1 -disks $node0disk -Node $allnode[0]</span><br /><span style="font-size: large;">it fail,the message is</span><br /><span style="font-size: large; color: #FF0000;">new-ncaggr : [400]: "block_storage.primary.disk_count" is a required field</span><br /><br /><span style="font-size: large;">Please tell me how to fix my command</span></p><p><span style="font-size: large;">Thanks</span></p></div>]]>
        </description>
    </item>
    <item>
        <title>How to add cifs share path to SCVMM</title>
        <link>https://community.netapp.com/community/discussion/462611/how-to-add-cifs-share-path-to-scvmm</link>
        <pubDate>Mon, 11 Aug 2025 08:29:23 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>unitech89e9</dc:creator>
        <guid isPermaLink="false">462611@/community/discussions</guid>
        <description><![CDATA[<div><p>I login to scvmm use the account [scvmmsvc]<br />I create a CIFS SVM, and create a share,</p><p>and give the scvmmsvc ntfs and cifs permission both full controller</p><p>But When I create a library share in SCVMM,</p><p>it show me error, it tell me I don't have share permission,</p><p>Is anyone tell me how to create a library share in SCVMM?</p></div>]]>
        </description>
    </item>
    <item>
        <title>Get-NcCifsSessionFile not working</title>
        <link>https://community.netapp.com/community/discussion/463333/get-nccifssessionfile-not-working</link>
        <pubDate>Tue, 23 Sep 2025 21:28:03 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>TomCheese</dc:creator>
        <guid isPermaLink="false">463333@/community/discussions</guid>
        <description><![CDATA[<div><p>Hi all, I'm experiencing an issue with the Netapp.ONTAP powershell module. Any time I run Get-NcCifsSessionFile, I get this error:</p><p>PS C:\Users\user&gt; Get-NcCifsSessionFile<br />Get-NcCifsSessionFile: Error converting value 15619890882604747598 to type 'System.Nullable`1[System.Int64]'. Path 'session.identifier', line 26, position 38.</p><p>Other commands do work, but this one and a few others (I don't remember which offhand) all get this integer conversion error.&nbsp;</p><p><br />Per a thread back in March, this was supposedly resolved, but I am getting this today.</p><p><br />For reference we're running a AFF C30 on&nbsp;9.16.1P5.</p><p>Thanks!</p></div>]]>
        </description>
    </item>
    <item>
        <title>Column &quot;Used&quot; is empty at PowerShell get-NcAggr</title>
        <link>https://community.netapp.com/community/discussion/462498/column-used-is-empty-at-powershell-get-ncaggr</link>
        <pubDate>Thu, 07 Aug 2025 09:18:48 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>StefanB64</dc:creator>
        <guid isPermaLink="false">462498@/community/discussions</guid>
        <description><![CDATA[<div><p>SInce Upgrading&nbsp;NetApp.ONTAP PowerShell Toolkit to 9.16 the Used (Percent) column is empty.</p><p>example:</p><pre>PS &gt; Get-NcAggr -Controller $na33 aggr_data_n12<br /><br />Name          State  TotalSize Used Available Disks RaidType RaidSize Volumes<br />----          -----  --------- ---- --------- ----- -------- -------- -------<br />aggr_data_n12 online   69,2 TB        12,6 TB    46                23<br /><br />PS &gt; Get-NcAggr aggr_data_n12 |gm -Name Used<br />TypeName: DataONTAP.C.Types.Aggr.AggrAttributes<br /><br />Name MemberType Definition<br />---- ---------- ----------<br />Used ScriptProperty System.Object Used {get=try { $this.AggrSpaceAttributes.PercentUsedCapacity } catch [Exception] ...</pre><p>Other columns are also empty (RaidType, Volumes).&nbsp;</p></div>]]>
        </description>
    </item>
    <item>
        <title>Stop-NcSis : This operation is not permitted on a Vserver that is configured as....</title>
        <link>https://community.netapp.com/community/discussion/461930/stop-ncsis-this-operation-is-not-permitted-on-a-vserver-that-is-configured-as</link>
        <pubDate>Sun, 13 Jul 2025 07:47:29 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>msalman</dc:creator>
        <guid isPermaLink="false">461930@/community/discussions</guid>
        <description><![CDATA[<div><p>Stop-NcSis : This operation is not permitted on a Vserver that is configured as the destination for identity discard Vserver DR.</p><p>I am trying to run Stop-NcSis but getting the above error.&nbsp;</p><p>Please refer to the screenshot attached.</p><p>Also tried below cmd:</p><p>Invoke-NcSsh -Command 'set -privilege diag; vserver config override -command "vol efficiency stop -vserver test_DR -vol source"'</p><p>Error: unexpected argument "efficiency"&nbsp; - please refer to screenshot.</p></div>]]>
        </description>
    </item>
    <item>
        <title>PowerShell Command Error: Get-NcCifsSession and Get-NcCifsSessionFile</title>
        <link>https://community.netapp.com/community/discussion/459530/powershell-command-error-get-nccifssession-and-get-nccifssessionfile</link>
        <pubDate>Wed, 19 Mar 2025 16:53:17 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>DougDevokaitis</dc:creator>
        <guid isPermaLink="false">459530@/community/discussions</guid>
        <description><![CDATA[<div><p>Several ONTAP storage clusters are providing ONTAP Connection IDs larger than 64Bit Integer can support.&nbsp; The commands are failing with this error:</p><p>Get-NcCifsConnection : Error converting value <strong>12930960430088848194</strong> to type 'System.Nullable`1[System.Int64]'. Path 'sessions[0].identifier', line 18, position 40.<br />At line:1 char:1<br />+ Get-NcCifsConnection<br />+ ~~~~~~~~~~~~~~~~~~~~<br />+ CategoryInfo : NotSpecified: (:) [Get-NcCifsConnection], ArgumentException<br />+ FullyQualifiedErrorId : Error converting value <strong>12930960430088848194</strong> to type 'System.Nullable`1[System.Int64]'. Path 'sessions[0].identifier', line 18, position 40.,DataONTAP.C.PowerShell.SDK.Cmdlets.Cifs.GetNcCifsConnection</p><p>Get-NcCifsSessionFile : Error converting value <strong>12930960430088913433</strong> to type 'System.Nullable`1[System.Int64]'. Path 'session.identifier', line 26, position 38.<br />At line:1 char:1<br />+ Get-NcCifsSessionFile<br />+ ~~~~~~~~~~~~~~~~~~~~~<br />+ CategoryInfo : NotSpecified: (:) [Get-NcCifsSessionFile], ArgumentException<br />+ FullyQualifiedErrorId : Error converting value <strong>12930960430088913433</strong> to type 'System.Nullable`1[System.Int64]'. Path 'session.identifier', line 26, position 38.,DataONTAP.C.PowerShell.SDK.Cmdlets.Cifs.GetNcCifsSessionFile</p><p>I have verified the storage clusters ONTAP CIFS Connection IDs are larger the 64Bit integer can handle.</p><p>64bit Maximum integer number: 9223372036854775807<br />ONTAP Session ID:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 12930960430088908395</p></div>]]>
        </description>
    </item>
    <item>
        <title>How to set up user quota with the ONTAP Powershell toolkit</title>
        <link>https://community.netapp.com/community/discussion/460073/how-to-set-up-user-quota-with-the-ontap-powershell-toolkit</link>
        <pubDate>Fri, 11 Apr 2025 04:43:20 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>Geum</dc:creator>
        <guid isPermaLink="false">460073@/community/discussions</guid>
        <description><![CDATA[<div><p><span>Storage is running ONTAP 9.14.1, and Powershell toolkit is 9.16.1.2501.</span><br /><br /><span>I'm trying to use the ONTAP Powershell toolkit on storage that's connected to AD to set up user quotas.</span><br /><br /><span>Powershell entered a command to generate a user quota and got an error message</span></p><p>PS &gt; $Volume = 'userdata_test'</p><p>PS &gt; $UserID = '1653409'</p><p>PS &gt; $VServer = &lsquo;svm1_main'</p><p>PS &gt; New-NcQuota -Volume $Volume -Qtree "" -QuotaTarget $UserID -QuotaType User -DiskLimit 5GB -VserverContext&nbsp;$VServer</p><p>New-NcQuota : The term 'New-NcQuota' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.</p><p>+ New-NcQuota -Volume $Volume -Qtree "" -QuotaTarget&nbsp; ...<br />+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />+ CategoryInfo : ObjectNotFoundL(New-NcQuota:String) [], CommandNotFoundException<br />+ FullyQualifiedErrorId : CommandNotFoundException</p><p><span>What command should I use to create userquota using Powershell toolkit?</span></p><p>Thanks&amp;<span>Regards,</span></p><p><span>Geum</span></p></div>]]>
        </description>
    </item>
    <item>
        <title>Powershell Healthchecck</title>
        <link>https://community.netapp.com/community/discussion/127811/powershell-healthchecck</link>
        <pubDate>Mon, 06 Feb 2017 16:47:32 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>Joe_Bailey</dc:creator>
        <guid isPermaLink="false">127811@/community/discussions</guid>
        <description><![CDATA[<div><p>Hey Team,</p><p>I'm trying to put together a powershell script to run a healthcheck on a NetApp Environment and output a document, similar to the way NetAppDOCS works.</p><p>I'm new to PS and frankly have no idea where to start, any suggestions on how to get going?</p><p>I want to check things like capacity, efficiency, etc. &nbsp;My goal is to generate a report from a system that doesn't have ASUP turned on that i could hand to a customer so show them the state of their environment...</p></div>]]>
        </description>
    </item>
    <item>
        <title>SMI-S Provider end of life?</title>
        <link>https://community.netapp.com/community/discussion/453764/smi-s-provider-end-of-life</link>
        <pubDate>Mon, 08 Jul 2024 22:40:10 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>CharlesCPC</dc:creator>
        <guid isPermaLink="false">453764@/community/discussions</guid>
        <description><![CDATA[<div><p>We're migrating our datacenters to Hyper-V/SCVMM from VMware and through this process we started using the SMI-S Provider with SCVMM 2022.&nbsp; &nbsp;I noticed today that all easy to find references to SMI-S Provider are missing from the NetApp Support site...&nbsp; They can still be found through search, but are all marked as "Legacy".</p><p>Given that SCVMM only supports SAN Arrays through either SMI-S or SMP, what is the plan moving forward for this, given how many orgs are moving away from VMWare and into Hyper-V/Azure Stack HCI as a solution?</p><p>Presumably the way to go would be SMB shares, but given that the SMI-S provider is still required to be able to add NetApp hosted SMB shares (No WSMAN on NetApp so the "Add File Share" option fails), this leaves me in a bit of a predicament.&nbsp;</p></div>]]>
        </description>
    </item>
    <item>
        <title>get-ncjob missing job-id and JobName</title>
        <link>https://community.netapp.com/community/discussion/460400/get-ncjob-missing-job-id-and-jobname</link>
        <pubDate>Wed, 30 Apr 2025 07:01:04 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>mkerkmann</dc:creator>
        <guid isPermaLink="false">460400@/community/discussions</guid>
        <description><![CDATA[<div><p>Hi,</p><p>when running get-ncjob we found, that there are missing information. So essential the Job-ID and JobName.</p><p>IsRestarted :<br />JobAffinity :<br />JobCategory :<br />JobCompletion : success<br />JobDescription : DELETE /api/storage/volumes/fc72f0e5-1817-11ef-9f60-00a098ff672f/snapshots/d11c4011-28bc-4c8e-9452-93157cf46bb2<br />JobDropdeadTime :<br />JobDropdeadTimeDT :<br />JobEndTime : 1744703715<br />JobEndTimeDT : 15.04.2025 09:55:15<br />JobId :<br />JobName :<br />JobNode :<br />JobPriority :<br />JobProcess :<br />JobProgress : success<br />JobQueueTime :<br />JobQueueTimeDT :<br />JobSchedule :<br />JobStartTime : 1744703715<br />JobStartTimeDT : 15.04.2025 09:55:15<br />JobState : success<br />JobStatusCode : 0<br />JobType :<br />JobUsername :<br />JobUuid : f73e0950-19ce-11f0-94b4-00a098ff672f<br />JobVserver : XXXXXXX<br />NcController : XXXXXXXXX<br />Error :<br />Svm : DataONTAP.C.Types.RestAttributes.Svm<br />JobNodeName :<br />IsRestartedSpecified : False<br />JobDropdeadTimeSpecified : False<br />JobEndTimeSpecified : True<br />JobIdSpecified : False<br />JobQueueTimeSpecified : False<br />JobStartTimeSpecified : True<br />JobStatusCodeSpecified : True</p><p>This was in older version not. As we have scripts which bases on this information, these scripts are not running anymore.</p><p>Any ideas what we can do, to get this run again.<br />THX&nbsp;<br />Michael</p></div>]]>
        </description>
    </item>
    <item>
        <title>Powershell command for snapmirror reverse sync</title>
        <link>https://community.netapp.com/community/discussion/460198/powershell-command-for-snapmirror-reverse-sync</link>
        <pubDate>Fri, 18 Apr 2025 13:28:14 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>pchhetri</dc:creator>
        <guid isPermaLink="false">460198@/community/discussions</guid>
        <description><![CDATA[<div><p><span>We have downloaded the power shell toolkit for NetApp. And we are creating the failover failback scenario with the powershell scripts for NetApp. So I am not looking for the ONTAP native CLI commands. We are looking for the powershell command for reverse sync.<br /></span>Please assist.&nbsp;</p></div>]]>
        </description>
    </item>
    <item>
        <title>can&#39;t optain cifs options using RestAPI on pstk 9.16.1.2501</title>
        <link>https://community.netapp.com/community/discussion/459549/cant-optain-cifs-options-using-restapi-on-pstk-9-16-1-2501</link>
        <pubDate>Thu, 20 Mar 2025 09:14:13 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>Enagon</dc:creator>
        <guid isPermaLink="false">459549@/community/discussions</guid>
        <description><![CDATA[<div><p>i'm trying to get all cifs options from a svm via pstk (9.16.1.2501)</p><p>using option -ZapiCall gives me all the options with values.</p><p>Without this option there are only some options populated with settings, for most of them i see the value false.</p><p>studying the help for the command didnt reveal how to do this via rest.</p><p>Any help is appreciated.</p></div>]]>
        </description>
    </item>
    <item>
        <title>NetApp ONTAP PowerShell Toolkit</title>
        <link>https://community.netapp.com/community/discussion/455871/netapp-ontap-powershell-toolkit</link>
        <pubDate>Thu, 17 Oct 2024 13:22:08 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>avi21106</dc:creator>
        <guid isPermaLink="false">455871@/community/discussions</guid>
        <description><![CDATA[<div><p>Deal All,<br />I have installed ONTAP PowerShell Toolkit 9.15.1 to automate health check report. Executing below command does not show<br />used space both for aggregates and volumes<br />get-ncaggr</p><p>get-ncvol</p><p><br />I m using ONTAP version 9.12.x&nbsp; but the ONTAP PowerShell Toolkit is at&nbsp; 9.15.1.&nbsp;<br />m i missing anything ?&nbsp; Appreciate you guidance.</p></div>]]>
        </description>
    </item>
    <item>
        <title>PowerShell Toolkit 9.16.1のシステム要件について</title>
        <link>https://community.netapp.com/community/discussion/459914/powershell-toolkit-9-16-1%E3%81%AE%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0%E8%A6%81%E4%BB%B6%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6</link>
        <pubDate>Thu, 03 Apr 2025 04:45:00 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>PowerShellToolkit</dc:creator>
        <guid isPermaLink="false">459914@/community/discussions</guid>
        <description><![CDATA[<div><p>PowerShell Toolkit 9.16.1&#12434;&#20351;&#29992;&#12377;&#12427;&#12383;&#12417;&#12398;&#12471;&#12473;&#12486;&#12512;&#35201;&#20214;&#12395;&#12388;&#12356;&#12390;&#30906;&#35469;&#12373;&#12379;&#12390;&#12367;&#12384;&#12373;&#12356;&#12290;<br />PowerShell Toolkit&#12434;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;&#20104;&#23450;&#12398;Windows2022&#12469;&#12540;&#12496;&#12399;&#29694;&#22312;.NET Framework 4.8&#12364;&#23566;&#20837;&#12373;&#12428;&#12390;&#12356;&#12414;&#12377;&#12364;&#12289;<br />&#12471;&#12473;&#12486;&#12512;&#35201;&#20214;&#12395;&#35352;&#36617;&#12364;&#12354;&#12427;.NET Framework 4.7.2 &#20197;&#22806;&#12399;&#21205;&#20316;&#12375;&#12394;&#12356;&#12398;&#12391;&#12375;&#12423;&#12358;&#12363;&#65311;</p><p><br />NetApp.ONTAP PowerShell Toolkit&#12398;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;URL&#12395;&#19979;&#35352;&#35352;&#36617;&#12364;&#12354;&#12427;&#12398;&#12399;&#30906;&#35469;&#28168;&#12415;&#12392;&#12394;&#12387;&#12390;&#12362;&#12426;&#12414;&#12377;&#12290;<br /><a href="https://mysupport.netapp.com/site/tools/tool-eula/ontap-powershell-toolkit" target="_blank" rel="noopener noreferrer nofollow">https://mysupport.netapp.com/site/tools/tool-eula/ontap-powershell-toolkit</a></p><p>Operating System Version<br />Microsoft Windows PowerShell 5.1 or 7.3.4 or later<br />Microsoft .NET Framework .NET Framework 4.7.2<br />Microsoft Windows 8.1,10, Server 2012 R2, 2016, 2019 ,2022</p></div>]]>
        </description>
    </item>
    <item>
        <title>System Requirements for PowerShell Toolkit 9.16.1</title>
        <link>https://community.netapp.com/community/discussion/459915/system-requirements-for-powershell-toolkit-9-16-1</link>
        <pubDate>Thu, 03 Apr 2025 05:20:36 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>PowerShellToolkit</dc:creator>
        <guid isPermaLink="false">459915@/community/discussions</guid>
        <description><![CDATA[<div><p>Please let me check the system requirements for using PowerShell Toolkit 9.16.1.</p><p>The Windows 2022 server on which I plan to install the PowerShell Toolkit currently has .NET Framework 4.8 installed.</p><p>Will it only work with .NET Framework 4.7.2, which is listed in the system requirements?</p><p>I would like to know if it will work with .NET Framework 4.8.</p><p>I have confirmed that the installation URL for the NetApp.ONTAP PowerShell Toolkit contains the following information:</p><p><a href="https://mysupport.netapp.com/site/tools/tool-eula/ontap-powershell-toolkit" target="_blank" rel="noopener noreferrer nofollow">https://mysupport.netapp.com/site/tools/tool-eula/ontap-powershell-toolkit</a></p><p>Operating System Version</p><p>Microsoft Windows PowerShell 5.1 or 7.3.4 or later</p><p>Microsoft .NET Framework .NET Framework 4.7.2</p><p>Microsoft Windows 8.1, 10, Server 2012 R2, 2016, 2019, 2022</p><p>Microsoft Windows 8.1,10, Server 2012 R2, 2016, 2019 ,2022</p></div>]]>
        </description>
    </item>
    <item>
        <title>PSTK cmdlet add-ncnfsservice is not creating correct service properties</title>
        <link>https://community.netapp.com/community/discussion/458555/pstk-cmdlet-add-ncnfsservice-is-not-creating-correct-service-properties</link>
        <pubDate>Thu, 13 Feb 2025 16:38:58 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>StevePutre</dc:creator>
        <guid isPermaLink="false">458555@/community/discussions</guid>
        <description><![CDATA[<div><p>We found what appears to be a bug or unintended behavior with add-ncnfsservice.</p><p>We want to create a new NFS service configuration on a vserver, but we want to have NFSv4.0 and NFSv4.1 disabled; only NFSv3 enabled.</p><p>We first obtain a default configuration:</p><p><span style="font-size: small; font-family: courier new,courier;">$nfs_config = get-NcNfsService -template</span></p><p>If we examine the template values, we can see that NFSv3 is enabled and NFSv4 is disabled:<br />(I have shortened the output but I have attached the full output to my post)</p><p><span style="font-size: small; font-family: courier new,courier;">PS&gt; $nfs_config</span></p><p><span style="font-size: small; font-family: courier new,courier;">Vserver GeneralAccess IsNfsv3 IsNfsv4 IsNfsv41 DefaultWindowsUser</span><br /><span style="font-size: small; font-family: courier new,courier;">------- ------------- ------- ------- -------- ------------------</span><br /><span style="font-size: small; font-family: courier new,courier;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; True&nbsp; &nbsp; &nbsp; &nbsp;True&nbsp; &nbsp; False&nbsp; &nbsp;False</span></p><p>Using this template, I create a new NFS service on my SVM:<br /><span style="font-size: small; font-family: courier new,courier;">PS&gt; add-NcNfsService -vservercontext XXXXXX -attributes $nfs_config</span></p><p><span style="font-size: small; font-family: courier new,courier;">Vserver GeneralAccess IsNfsv3 IsNfsv4 IsNfsv41 DefaultWindowsUser</span><br /><span style="font-size: small; font-family: courier new,courier;">------- ------------- ------- ------- -------- ------------------</span><br /><span style="font-size: small; font-family: courier new,courier;">XXXXXXX&nbsp; &nbsp; &nbsp;True&nbsp; &nbsp; &nbsp; &nbsp;True&nbsp; &nbsp; True&nbsp; &nbsp; &nbsp;True</span></p><p>If I go to the OnTAP CLI and perform a "nfs show", it shows that v4.0 and v4.1 are enabled, which is not the desired config.</p><p>Please comment and provide a resolution for this.</p></div>]]>
        </description>
    </item>
    <item>
        <title>PowerShell Toolkit Won&#39;t Upgrade</title>
        <link>https://community.netapp.com/community/discussion/459934/powershell-toolkit-wont-upgrade</link>
        <pubDate>Thu, 03 Apr 2025 17:45:48 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>TMADOCTHOMAS</dc:creator>
        <guid isPermaLink="false">459934@/community/discussions</guid>
        <description><![CDATA[<div><p>I just upgraded the PowerShell Toolkit from&nbsp;9.15.1.2407 to&nbsp;9.16.1.2410. As it seems to happen with nearly every upgrade, it isn't working.</p><p>First, what happened to install.ps1? That made installations super easy and now it's gone.</p><p>Second, if I understand correctly, we should unzip the NetApp.OnTAP download, then unzip the underlying NetApp_OnTAP zip file, and finally copy the NetApp.OnTAP folder to the appropriate path, in our case "C:\Program Files (x86)\Netapp\NetApp PowerShell Toolkit\Modules" (that's where the existing folder is located).</p><p>I tried copying on top of the existing folder and replacing files, and I tried deleting the original folder and replacing it with the whole new folder. In both cases, when I run&nbsp;<strong>Import-Module NetApp.ONTAP</strong> I get the following. Anyone know the cause? The file it lists (OntapiPS.dll) is in the location it lists.</p><p>------------------------------------------------------------</p><p>Import-Module : Could not load file or assembly 'file:///C:\Program Files (x86)\Netapp\NetApp PowerShell<br />Toolkit\Modules\NetApp.ONTAP\OntapiPS.dll' or one of its dependencies. Operation is not supported. (Exception from<br />HRESULT: 0x80131515)<br />At line:1 char:1<br />+ Import-Module NetApp.ONTAP<br />+ ~~~~~~~~~~~~~~~~~~~~~~~~~~<br />+ CategoryInfo : InvalidOperation: (:) [Import-Module], FileLoadException<br />+ FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand</p><p>--------------------------------------------------------------</p></div>]]>
        </description>
    </item>
    <item>
        <title>Powershell command for adding  existing snapshot policy to a volume -</title>
        <link>https://community.netapp.com/community/discussion/168067/powershell-command-for-adding-existing-snapshot-policy-to-a-volume</link>
        <pubDate>Sun, 27 Jun 2021 06:38:04 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>NwkThd_04</dc:creator>
        <guid isPermaLink="false">168067@/community/discussions</guid>
        <description><![CDATA[<div><p>Hello Team,&nbsp;</p><p>Anyone please help me to find the command&nbsp; for adding&nbsp; existing snapshot policy to a volume&nbsp;</p><p>I have tried with&nbsp; " get-ncvol volume name&nbsp; -Vserver&nbsp; vserver name&nbsp; &nbsp;|&nbsp; Set-NcSnapshotPolicy&nbsp; &nbsp;policy name" but failed&nbsp;</p><p>&nbsp;Also&nbsp; I was trying&nbsp; update-ncvol&nbsp; as well , but could not&nbsp; find snapshotpolicy name option there.</p><p>it looks like I am not using the current context?</p><p>I am using powershell tool kit 9.8.xx&nbsp;</p><p>Thanking you in advance.</p><p>Regards,</p><p>Shyju.</p></div>]]>
        </description>
    </item>
    <item>
        <title>Powershell - Get a list of files &gt; 4GB, all volumes</title>
        <link>https://community.netapp.com/community/discussion/458927/powershell-get-a-list-of-files-4gb-all-volumes</link>
        <pubDate>Wed, 26 Feb 2025 17:51:59 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>Doc_McJust</dc:creator>
        <guid isPermaLink="false">458927@/community/discussions</guid>
        <description><![CDATA[<div><p>I am trying to create a powershell script that will give me a list of every file in our cluster that is greater than 4GB.</p><p>The script must include file path information and output to a .txt file.</p><p>So far, I only have the bones of a script and I've been testing it on my work PC.</p><p>The final version will likely have to be run on the domain controller, but I am not sure how to build the script from the context of the DC.</p><p>$path = "C:\Users\LJONAH"<br />$sizeThreshold = 10<br />$outputPath = "C:\temp\OIS_large_files.txt"<br />Get-ChildItem -Path $path -Recurse -File -ErrorAction SilentlyContinue |<br />Where-Object {$_.Length / 1MB -gt $sizeThreshold}| Select-Object FullName, @{Name="Size GB";Expression={ "{0:N0}" -f ($_.Length / 1GB) }} | Out-File -FilePath $outputPath</p></div>]]>
        </description>
    </item>
    <item>
        <title>Purge volume recovery-queue powershell toolkit</title>
        <link>https://community.netapp.com/community/discussion/457896/purge-volume-recovery-queue-powershell-toolkit</link>
        <pubDate>Sun, 19 Jan 2025 09:31:54 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>Luis_KawaZ750</dc:creator>
        <guid isPermaLink="false">457896@/community/discussions</guid>
        <description><![CDATA[<div><p>Hi everyone,<br />I would need to purge the volume-recovery queue in my script.<br />I can't find the cmdlet.<br />Can someone give me some advice please?<br />Thank you very much and have a nice day!</p><p>Bye</p></div>]]>
        </description>
    </item>
   </channel>
</rss>
