<?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>Powershell Toolkit — NetApp Community</title>
        <link>https://community.netapp.com/community/</link>
        <pubDate>Wed, 26 Aug 2026 03:03:24 +0000</pubDate>
        <language>en</language>
            <description>Powershell Toolkit — NetApp Community</description>
    <atom:link href="https://community.netapp.com/community/discussions/tagged/powershell-toolkit/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>PowerShell Toolkit - Automating Qtree and Share Creation Issues</title>
        <link>https://community.netapp.com/community/discussion/460597/powershell-toolkit-automating-qtree-and-share-creation-issues</link>
        <pubDate>Fri, 09 May 2025 20:13:25 +0000</pubDate>
        <category>Automation &amp; IaC</category>
        <dc:creator>MattBaldwin</dc:creator>
        <guid isPermaLink="false">460597@/community/discussions</guid>
        <description><![CDATA[<div><p>I am working on some automation using powershell and the powershell toolkit.&nbsp; After creating a qtree and then its share, I am trying to set the 'ShareProperties' parameter, "browsable", which correlates to the checkbox in the UI for "allow client access to snapshot copies directory".&nbsp;&nbsp; It fails saying, "ShareProperties parameter specified, which is not supported for REST call".&nbsp;</p><p>I have tried it with Set-NcCifsShare and Add-NcCifsShare.&nbsp; I am running the powershell module for NetApp.ONTAP Version: 9.16.1.2501 in PowerShell 7.5.1.</p><p>An example of the script.&nbsp; If I take out the shareproperties piece, it works perfectly.</p><pre><code>Set-NcCifsShare -Name $shareName -SymlinkProperties enable  -AccessBasedEnumeration $true -ShareProperties "browsable" -VserverContext $storageVM</code></pre><p>Is there any way to set that option via PowerShell?&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>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 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>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>
    <item>
        <title>Ontap commands run from Powershell</title>
        <link>https://community.netapp.com/community/discussion/441425/ontap-commands-run-from-powershell</link>
        <pubDate>Fri, 03 Feb 2023 19:21:26 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>HighmarkECB</dc:creator>
        <guid isPermaLink="false">441425@/community/discussions</guid>
        <description><![CDATA[<div><p>Hello all, Need some help.&nbsp; I want to run the following:</p><p>volume snapshot show -fields create-time, size, state, is-constituent<br /><br /></p><p>Using the Ontap Powershell and redirect it to a local Excel format.&nbsp; I can get connected to my Clusters using the Connect-NcController, just cannot get the syntax correct for the volume command.</p><p>Any help would be great.&nbsp;</p></div>]]>
        </description>
    </item>
    <item>
        <title>Can you use Posh-SSH PowerShell Module for administering OnTap?</title>
        <link>https://community.netapp.com/community/discussion/170434/can-you-use-posh-ssh-powershell-module-for-administering-ontap</link>
        <pubDate>Wed, 29 Sep 2021 18:44:23 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>Jim_Robertson</dc:creator>
        <guid isPermaLink="false">170434@/community/discussions</guid>
        <description><![CDATA[<div><p>In the past, I've used Invoke-NcSSH to administer Ontap clusters from a central location.&nbsp; i.e. I could pull the aggregate list from a cluster using a command like this:<br /><br />Invoke-NcSSH -Controller ClusterName -Command "aggr show"<br /><br />I also created a function to make the command shorter and allow me to run any OnTap CLI command on any cluster from a PowerShell window.&nbsp; The problem is that it requires Putty &gt;0.70 to be installed (no big deal), but it's really really slow.<br /><br />I thought that Posh-SSH might work better, but you first have to establish a session, find the session ID, invoke a session to that session ID, then parse the output to get the data that I need.&nbsp; This is what a Posh-SSH session looks like to do the same as what I'm doing with Invoke-NcSSH:<br /><br />New-SSHSession -ComputerName&nbsp;ClusterName<br />Get-SSHSession<br />$var = Invoke-SSHCommand -SessionId 0 -Command "aggr show"<br />$var.Output<br /><br />Does anyone have any fancy ways to make Posh-SSH work more like the way I was using Invoke-NcSSH above?&nbsp; Essentially, I'd like to be able to run an OnTap CLI command from PowerShell using a single PS command.<br /><br />Thanks in advance for any hints anyone can give me!</p></div>]]>
        </description>
    </item>
    <item>
        <title>Expired certificates causing NetApp.ONTAP PSTK 9.13.1 install to fail</title>
        <link>https://community.netapp.com/community/discussion/455815/expired-certificates-causing-netapp-ontap-pstk-9-13-1-install-to-fail</link>
        <pubDate>Tue, 15 Oct 2024 19:53:09 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>KevinMDavis</dc:creator>
        <guid isPermaLink="false">455815@/community/discussions</guid>
        <description><![CDATA[<div><p>We are moving a Workday environment and it's dependent upon using the PSTK commandlets for all user provisioning, onboarding and offboarding. PS v. 5.1, PSTK 9.13.1.&nbsp;<br />We cannot install any version without hitting the same error.&nbsp; It appears all the PSTK downloads are shipping with expired certs.&nbsp; The certs expired 2 days ago on 10/13:<br /><span><img src="https://us.v-cdn.net/6038798/uploads/migrated-images/c8/c8354b8c7f69859f2b3c47e3fad4796c.png" role="button" title="certs-expirted.png" alt="certs-expirted.png" width="1502" /></span></p><p>PS C:\Windows\system32&gt; install-module Netapp.Ontap -force -scope AllUsers</p><p>PackageManagement\Install-Package : The module 'NetApp.ONTAP' cannot be installed or updated because the authenticode</p><p>signature of the file 'NetApp.ONTAP.psd1' is not valid.</p><p>At C:\Program Files (x86)\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 char:21</p><p>+ ... $null = PackageManagement\Install-Package @PSBoundParameters</p><p>+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</p><p>+ CategoryInfo : InvalidOperation: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package],</p><p>Exception</p><p>+ FullyQualifiedErrorId : InvalidAuthenticodeSignature,ValidateAndGet-AuthenticodeSignature,Microsoft.PowerShell.P</p><p>ackageManagement.Cmdlets.InstallPackage<br /><br />Failed to install or import required PSModules The following error occurred while loading the extended type data file: , C:\Program Files (x86)\WindowsPowerShell\Modules\NetApp.ONTAP\9.13.1.2306\DataONTAP.Type.ps1xml: The file was skipped because of the following validation exception: File C:\Program Files (x86)\WindowsPowerShell\Modules\NetApp.ONTAP\9.13.1.2306\DataONTAP.Type.ps1xml cannot be loaded. A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file..</p><p>, C:\Program Files (x86)\WindowsPowerShell\Modules\NetApp.ONTAP\9.13.1.2306\DataONTAP.C.Type.ps1xml: The file was skipped because of the following validation exception: File C:\Program Files (x86)\WindowsPowerShell\Modules\NetApp.ONTAP\9.13.1.2306\DataONTAP.C.Type.ps1xml cannot be loaded. A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file..</p></div>]]>
        </description>
    </item>
    <item>
        <title>Incorrect Credentials</title>
        <link>https://community.netapp.com/community/discussion/456702/incorrect-credentials</link>
        <pubDate>Mon, 18 Nov 2024 16:30:24 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>ToddBarton</dc:creator>
        <guid isPermaLink="false">456702@/community/discussions</guid>
        <description><![CDATA[<div><p>I am trying to run a PowerShell script to connect to multiple filers and do a 'get-ncvol'.&nbsp; I have a scheduled task running from the Windows Task Scheduler that is running with a Group Managed Service Account. My script contains the username that I'm logging into the filer(s) with along with the password which is encrypted in a file (the encryption was done while running with the Group Managed Service Account).&nbsp; I used the following to encrypt the password:</p><p>"password" | ConvertTo-SecureString -AsPlainText -Force | ConvertFrom-SecureString | Set-Content "C:\myfiles\stuff\encryptedpassword.txt"</p><p>Then in my script, once again running as my Group Managed Service Account, I do the following:</p><p>$username = 'domain\id'</p><p>$password =&nbsp; Get-Content&nbsp;"C:\myfiles\stuff\encryptedpassword.txt" | ConvertTo-SecureString</p><p>$hosts = Get-Content "C:\myfiles\stuff\filers.txt"</p><p>$cred =&nbsp;&nbsp;$cred = new-object -typename System.Management.Automation.PSCredential -argumentlist $username, $password</p><p>$hosts | % { $filer = $_ Add-NcCredential -controller $filer -credential $cred }</p><p>foreach($cluster in $hosts)</p><p>&nbsp;{</p><p>&nbsp; &nbsp;Connect-NcController -name $cluster | Out-Null</p><p>&nbsp; &nbsp;Get-NcVol | Export-CSV $filename -Append -NoTypeInformation</p><p>&nbsp;}</p><p>When it tries to connect to the filer I get a "</p><p>Connect-NcController : Incorrect credentials for myfiler1</p><p>I can't figure out why the credential is incorrect.</p></div>]]>
        </description>
    </item>
    <item>
        <title>return_unmatched_nested_array_objects error in Query after upgrading to PSTK 9.14</title>
        <link>https://community.netapp.com/community/discussion/451629/return-unmatched-nested-array-objects-error-in-query-after-upgrading-to-pstk-9-14</link>
        <pubDate>Wed, 27 Mar 2024 18:13:42 +0000</pubDate>
        <category>ONTAP APIs &amp; SDKs</category>
        <dc:creator>JimRobertson</dc:creator>
        <guid isPermaLink="false">451629@/community/discussions</guid>
        <description><![CDATA[<div><p>I recently update our NetApp PSTK from 9.8 to 9.14.1.2401, and since the queries in my scripts are failing (see output below from 9.8 and 9.14).&nbsp; OnTap version is 9.12.1P10.&nbsp; Get-NcNetDeviceDiscovery is the only command I use the query with, so I don't know if it's all commands or just that one.</p><p>Does anyone know why I'm getting this error and how I can fix it?</p><p>Query with PSTK 9.8:</p><pre><code>PS C:\&gt; Get-NcNetDeviceDiscovery -Query @{Node="cluster01-01";Port="e0M"}

DiscoveredDevice             Node                         Interface  Port   Platform             Capabilities        
----------------             ----                         ---------  ----   --------             ------------        
switchname...                cluster01-01                  Gi1/0/3    e0M                         {router, trans_br...</code></pre><p>Query with PSTK 9.14.1.2401:</p><pre><code>PS C:\&gt; Get-NcNetDeviceDiscovery -Query @{Node="cluster02-01";Port="e0M"}
Get-NcNetDeviceDiscovery : [400]: Field "return_unmatched_nested_array_objects" was specified twice (to "false" and "false").
At line:1 char:1
+ Get-NcNetDeviceDiscovery -Query @{Node=" cluster02-01";Port="e0M"}
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Get-NcNetDeviceDiscovery], Exception
    + FullyQualifiedErrorId : 400,DataONTAP.C.PowerShell.SDK.Cmdlets.Net.GetNcNetDeviceDiscovery </code></pre><p><br />It does work if I add -ONTAPI to the end of the command, but, from my understanding, that means it's reverting to ZAPI, and so will not work in future versions of OnTap, correct?</p></div>]]>
        </description>
    </item>
    <item>
        <title>PowerShell equivalent of discovery-mode</title>
        <link>https://community.netapp.com/community/discussion/451497/powershell-equivalent-of-discovery-mode</link>
        <pubDate>Tue, 19 Mar 2024 17:54:05 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>StanStewart</dc:creator>
        <guid isPermaLink="false">451497@/community/discussions</guid>
        <description><![CDATA[<div><p>After searching the PowerShell Toolkit/module and forums, I've been unable to find this one. Is there a command that performs the equivalent of this CLI command?</p><p><span style="font-family: courier new,courier;">vserver cifs domain discovered-servers discovery-mode [modify|show] ...</span></p><p>Can you point me to a definitive answer?</p><p>Thanks!</p></div>]]>
        </description>
    </item>
    <item>
        <title>Volume Efficiency auto-state setting with PowerShell?</title>
        <link>https://community.netapp.com/community/discussion/451630/volume-efficiency-auto-state-setting-with-powershell</link>
        <pubDate>Wed, 27 Mar 2024 18:15:37 +0000</pubDate>
        <category>ONTAP APIs &amp; SDKs</category>
        <dc:creator>JimRobertson</dc:creator>
        <guid isPermaLink="false">451630@/community/discussions</guid>
        <description><![CDATA[<div><p>There is a field in the volume efficiencies called "auto-state" that does not seem to be accessible using standard PowerShell commands (Get-NcSis or Get-NcVolume). From the CLI, it is only visable in diag mode. Does anyone know any way to pull this information using PowerShell, other than using Invoke-NcSSH?</p><p>This is the command to view it in the CLI (while in diag):</p><pre><code>vol efficiency show -volume vol1 -fields auto-state</code></pre><p><br />I'm asking because we have workflows in WFA that are failing when we try to set the efficiencies on volumes that have been "deprioritized".</p></div>]]>
        </description>
    </item>
    <item>
        <title>Set-NcNetPortBroadcastDomain not working Powershell Toolkit 9.14.1</title>
        <link>https://community.netapp.com/community/discussion/451072/set-ncnetportbroadcastdomain-not-working-powershell-toolkit-9-14-1</link>
        <pubDate>Wed, 28 Feb 2024 18:19:22 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>henryzzz</dc:creator>
        <guid isPermaLink="false">451072@/community/discussions</guid>
        <description><![CDATA[<div><p>Trying to move over scripts from using module version 9.10 --&gt; 9.14. Running the command&nbsp;<br /><br /><span>Set-NcNetPortBroadcastDomain -Controller $primaryCluster -Name &lt;broadcast domain&gt; -AddPort &lt;node:broadcast domain&gt;&nbsp;</span></p><p>doesn't add any ports to a broadcast domain. Using -ontapi works, but whenever that becomes deprecated how would we run this?&nbsp;</p></div>]]>
        </description>
    </item>
    <item>
        <title>NaNdmpCopy - Non english character in the path -&gt; ERROR</title>
        <link>https://community.netapp.com/community/discussion/449940/nandmpcopy-non-english-character-in-the-path-error</link>
        <pubDate>Thu, 28 Dec 2023 11:15:34 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>MarkusWe</dc:creator>
        <guid isPermaLink="false">449940@/community/discussions</guid>
        <description><![CDATA[<div><p>Hi, I have a problem during an restore the path changed during a command?</p><p><span style="font-family: courier new,courier;">Invoke-NaNdmpCopy -verbose 192.168.0.1 -SrcPath ".../3370_Bautr<span style="color: #008000;">&auml;</span>ger/Formulare" 192.168.0.2 -DstPath ".../Formulare' -SrcCredential $cred -DstCredential $cred -SrcAuthType Md5 -DstAuthType Md5</span></p><p>ERROR:<br /><span style="color: #33CCCC;">VERBOSE: [192.168.0.1] Log Message: LogType=2, MessageId=2, Message=Backup/Restore of non-local Volume '.../3370_Bautr<span style="color: #FF6600;">\0303\0244<span style="color: #33CCCC;">ger</span></span>/Formulare' not supported</span></p><p>So my "&auml;" changed to "\0303\0244" ?!</p><p>But this works fine:</p><p><span style="font-family: courier new,courier;">Read-NcDirectory -VserverContext filer03_vault-vs -Path "/vol/.../3370_Bautr&auml;ger/Formulare" |Format-Table</span></p><p><span style="font-size: small; font-family: courier new,courier;">Name Address Vserver Version </span><br /><span style="font-size: small; font-family: courier new,courier;">---- ------- ------- ------- </span><br /><span style="font-size: small; font-family: courier new,courier;">192.168.0.1 192.168.0.1 NetApp Release 9.7P22: Mon Mar 27 14:06:51 UTC 2023</span></p><p><span style="font-size: small; font-family: courier new,courier;">Name Type Size Created Modified Owner Group Perm Empty</span><br /><span style="font-size: small; font-family: courier new,courier;">---- ---- ---- ------- -------- ----- ----- ---- -----</span><br /><span style="font-size: small; font-family: courier new,courier;">. directory 12 KB 04.05.2015 11.10.2023 0 0 777 False</span><br /><span style="font-size: small; font-family: courier new,courier;">.. directory 8 KB 04.05.2015 27.07.2023 0 0 777 False</span></p><p>Toolkit Version</p><p>Major Minor Build Revision<br />----- ----- ----- --------<br />9 13 1 2306</p><p>Does someone know how to fix this?</p><p>Best regards</p><p>Markus</p></div>]]>
        </description>
    </item>
    <item>
        <title>Why doesn&#39;t Set-NcSnapshotSnaplockExpTime  set the snapshot snaplock expiry?</title>
        <link>https://community.netapp.com/community/discussion/448328/why-doesnt-set-ncsnapshotsnaplockexptime-set-the-snapshot-snaplock-expiry</link>
        <pubDate>Fri, 20 Oct 2023 14:27:55 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>Beardmann</dc:creator>
        <guid isPermaLink="false">448328@/community/discussions</guid>
        <description><![CDATA[<div><p>I am trying to set the "snaplock-expiry-time" of a bunch of snapshots using the ONTAP Powershell toolkit...</p><p><span>Ontap 9.13.1P2, Powershell Toolkit 9.13.1.2306 </span></p><p><span>I get the snapshot created value with the Get-NcSnapshot, then add 30 days with the $snapexpdate = $snapshot.Created.adddays(30)</span></p><p><span>I verify that the variables have been set correctly.</span></p><p><span>I then use the&nbsp;Set-NcSnapshotSnaplockExpTime with the&nbsp;-ExpiryTime $snapexpdate and the command executes OK.</span></p><p><span>Only thing is that this sets the "expiry-time" of the snapshot and not the "snaplock-expiry-time" which is not the same thing...</span></p><p><span>How do I set the "snaplock-expiry-time" of my snapshots?</span></p><p><span>Of cause I have the correct license (ONTAP One), snaplock compliance clock has been set, and snaplock has been set on the volume... and I am able to set the&nbsp;snaplock-expiry-time from both the commandline and GUI...&nbsp; not apparently not via Powershell... ?</span></p><p><span>Is this a bug?&nbsp; And is there other ways to set this?</span></p></div>]]>
        </description>
    </item>
    <item>
        <title>[PowerShell KIT] CIFS session ID out of Range</title>
        <link>https://community.netapp.com/community/discussion/447559/powershell-kit-cifs-session-id-out-of-range</link>
        <pubDate>Mon, 11 Sep 2023 08:46:49 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>OnTapBeginner</dc:creator>
        <guid isPermaLink="false">447559@/community/discussions</guid>
        <description><![CDATA[<div><p>Hello together,</p><p>we have a problem with the PowerShell Kit and Session IDs for CIFS.</p><p>We are running PowerShell Kit 9.13.1.2306 and OnTAP Version 9.12.1P3</p><p>We have a two node cluster and one SVM running on Node A have the problem when the corresponding LIF is also on Node A.</p><p><u><strong>The error:</strong></u></p><p>When we try to run the cmdlet "Get-NcCifsSessionFile -Vserver xxx" we encounter an error, that the Session ID is out of range from INT64.</p><p><u><strong>Workaround:</strong></u></p><p>When we move the LIF of the SVM to Node B, there is no error anymore.</p><p>Back to Node A, the Session ID is again greater than INT64.</p><p>On the OnTAP CLI the session ID can be checked with:&nbsp;</p><p>vserver cifs session show</p><p>Does anyone knows about that behaviour or has a solution?&nbsp;</p><p>Maybe it is possible to decrease the range for CIFS session ids?</p></div>]]>
        </description>
    </item>
    <item>
        <title>Powershell Toolkit AD Login not working</title>
        <link>https://community.netapp.com/community/discussion/437825/powershell-toolkit-ad-login-not-working</link>
        <pubDate>Tue, 30 Aug 2022 13:18:53 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>Erik_gruetter</dc:creator>
        <guid isPermaLink="false">437825@/community/discussions</guid>
        <description><![CDATA[<div><p>Hey there</p><p>Since upgrading to Netapp Ontap Powershell Toolkit 9.11.1.2208 from PStoolkit&nbsp;<span>9.10.1.2111, AD login does not work anymore on our controllers:</span></p><p><span>Connect-NcController : The remote server returned an error: (401) Unauthorized.<br />At line:1 char:1<br />+ Connect-NcController XXX<br />+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />+ CategoryInfo : InvalidResult: (XXX:NcController) [Connect-NcController], WebException<br />+ FullyQualifiedErrorId : HttpConnectionFailed,DataONTAP.C.PowerShell.SDK.ConnectNcController</span></p><p>However, when using&nbsp;PStoolkit&nbsp;<span>9.10.1.2111, AD login works without issues (even after reverting back from PStoolkit&nbsp;9.11.1.2208). When using local accounts, the connection works without issues. Setting the option -https also does not help.</span></p><p><span>Best regards<br />Erik</span></p></div>]]>
        </description>
    </item>
    <item>
        <title>Netapp Powershell Toolkit 9.12 .1 Unexpected argument &quot;allow_unencrypted_access&quot;</title>
        <link>https://community.netapp.com/community/discussion/443686/netapp-powershell-toolkit-9-12-1-unexpected-argument-allow-unencrypted-access</link>
        <pubDate>Mon, 24 Apr 2023 20:24:58 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>mgartley13</dc:creator>
        <guid isPermaLink="false">443686@/community/discussions</guid>
        <description><![CDATA[<div><p>Hello,</p><p>I'm trying to get the new 9.12.1 Netapp.ontap powershell module to work but I'm having some difficulties.</p><p>I've used an older version of this on different servers before and it's worked fine. However on this new version running on server 2016 it errors when I try to do any sort of modify commands.</p><p>I can successfully log into the cluster and execute get commands fine, but when I try to do any sort of modify commands I get an error about allowing unencrypted access.</p><p>It just seems strange to me, I would think the array or powershell would either allow all traffic or none if it was truly something with encryption I wouldn't expect it to differentiate between get and modify commands.</p><p>I've attached a screenshot for reference.</p><p>Thanks in advance for any help!</p></div>]]>
        </description>
    </item>
    <item>
        <title>NetApp PowerShell Toolkit 9.8 released!</title>
        <link>https://community.netapp.com/community/discussion/160994/netapp-powershell-toolkit-9-8-released</link>
        <pubDate>Thu, 05 Nov 2020 14:52:21 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>Kartik_Gupta</dc:creator>
        <guid isPermaLink="false">160994@/community/discussions</guid>
        <description><![CDATA[<div><p>Dear PowerShell community,<br /><br />We are glad to announce the release of&nbsp;<span>&nbsp;<a title="NetApp PowerShell Toolkit version 9.8" href="https://mysupport-beta.netapp.com/site/tools/tool-eula/powershell-toolkit" target="_blank" rel="noopener noreferrer nofollow">NetApp PowerShell Toolkit version 9.8</a></span><span> This unified release has enhancements for&nbsp; ONTAP PowerShell module.<br /><br /></span><strong>ONTAP PowerShell Module:</strong><br />The latest release supports upto&nbsp;2340 cmdlets and provides maximum API coverage for ONTAP 9.8 and is backward compatible with previous ONTAP releases.<br /><br /><strong>SANtricity PowerShell Toolkit</strong><br /><span>The SANtricity PowerShell module supports more than 300 cmdlets, enabling the storage administration of NetApp E-Series storage systems and EF-Series all-flash arrays.<br /><br /></span></p><p>Download the NetApp PowerShell Toolkit 9.8 from&nbsp;<span>&nbsp;<a title="here" href="https://mysupport-beta.netapp.com/site/tools/tool-eula/powershell-toolkit" target="_blank" rel="noopener noreferrer nofollow">here</a></span></p><p><br />Regards,<br />NetApp PowerShell Toolkit Team</p></div>]]>
        </description>
    </item>
    <item>
        <title>Powershell Pipe issues</title>
        <link>https://community.netapp.com/community/discussion/445340/powershell-pipe-issues</link>
        <pubDate>Mon, 19 Jun 2023 08:45:23 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>Beardmann</dc:creator>
        <guid isPermaLink="false">445340@/community/discussions</guid>
        <description><![CDATA[<div><p>Hi there</p><p>This might be a PS issue more than a NetApp issue, yet I will give it a try here <span title=":slightly_smiling_face:">&#128578;</span></p><p>I'm trying to do a list of snapshots on volumes that are older than a specific date...</p><p>I connect OK to the cluster, and I can go a get-ncvol with no issues.. but when I try to add pipes to it, so to get the snapshots, it complains...&nbsp;</p><p>so this works OK:</p><p>$volumes = get-ncvol</p><p>But this fails:</p><p>$snapshots =&nbsp;get-ncvol | get-ncsnapshot</p><p>And this also fails:</p><p>$oldsnapshots = get-ncvol | get-ncsnapshot | where-object {$_.created -lt "$maxsnapshotdesiredage"}</p><p><span style="font-family: courier new,courier;">Finding old snapshots...</span><br /><span style="font-family: courier new,courier;">get-ncsnapshot : Volume parameter neither specified nor set</span><br /><span style="font-family: courier new,courier;">At C:\Users\blah\Documents\list.ps1:15 char:17</span><br /><span style="font-family: courier new,courier;">+ $oldsnapshots | get-ncsnapshot | where-object {$_.created -lt "$maxsn ...</span><br /><span style="font-family: courier new,courier;">+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;~~~~~~~~~~~~~~</span><br /><span style="font-family: courier new,courier;">+ CategoryInfo : NotSpecified: (:) [Get-NcSnapshot], ArgumentException</span><br /><span style="font-family: courier new,courier;">+ FullyQualifiedErrorId : Volume is empty,DataONTAP.C.PowerShell.SDK.Cmdlets.Snapshot.GetNcSnapshot</span><br /><br /></p><p>So it looks like when ever I use a |Pipe| it complains...&nbsp;</p><p><span style="font-family: courier new,courier;">PS C:\Users\blah\Documents&gt; $PSVersionTable.PSVersion</span></p><p><span style="font-family: courier new,courier;">Major Minor Build Revision</span><br /><span style="font-family: courier new,courier;">----- ----- ----- --------</span><br /><span style="font-family: courier new,courier;">5 1 14409 1029</span></p><p>This has been working from this Windows hosts before... so my guess it that it is some Powershell thing that has changed as it has most likely been upgraded since I last used it....</p><p>Any help is welcome...</p></div>]]>
        </description>
    </item>
    <item>
        <title>NetApp PowerShell Toolkit 4.5P1 released!</title>
        <link>https://community.netapp.com/community/discussion/138566/netapp-powershell-toolkit-4-5p1-released</link>
        <pubDate>Fri, 02 Mar 2018 11:03:19 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>Kartik_Gupta</dc:creator>
        <guid isPermaLink="false">138566@/community/discussions</guid>
        <description><![CDATA[<div><p>Dear PowerShell community,</p><p><br />We are glad to announce the release of&nbsp; <a title="NetApp PowerShell Toolkit version 4.5P1" href="https://mysupport.netapp.com/tools/info/ECMLP2310788I.html?productID=61926&amp;pcfContentID=ECMLP2310788" target="_blank" rel="noopener noreferrer nofollow">NetApp PowerShell Toolkit version 4.5P1</a> This unified release has enhancements for Data ONTAP module. In this release we have made fixes for following two DataONTAP PowerShell toolkit cmdlets.<br /><br />1) Invoke-NcSsh&nbsp;&nbsp; 2) Invoke-NaSsh<br /><br />Prerequisites:- The user needs to install Putty of version "putty-64bit-0.70-installer" on the system from where this cmdlet is being executed.<br />&nbsp;</p><p><strong>ONTAP PowerShell Module:</strong><br />The latest release adds upto&nbsp;2170 cmdlets and provides maximum API coverage for ONTAP 9.3 and is backward compatible with previous ONTAP releases.<br /><br /><strong>SANtricity PowerShell Toolkit</strong><br /><span>The SANtricity PowerShell module supports more than 300 cmdlets, enabling the storage administration of NetApp E-Series storage systems and EF-Series all-flash arrays.</span></p><p>Download the PowerShell Toolkit 4.5P1 from<span> <a title="here" href="https://mysupport.netapp.com/tools/info/ECMLP2310788I.html?productID=61926&amp;pcfContentID=ECMLP2310788" target="_blank" rel="noopener noreferrer nofollow">here</a></span></p><p><br />Regards,<br />NetApp PowerShell Toolkit Team</p></div>]]>
        </description>
    </item>
    <item>
        <title>Powershell  &#39;Invoke-NcSsh&#39; cmdlet triggers &#39;invalid login&#39; EMS event yet completes successfully.</title>
        <link>https://community.netapp.com/community/discussion/170479/powershell-invoke-ncssh-cmdlet-triggers-invalid-login-ems-event-yet-completes-successfully</link>
        <pubDate>Thu, 30 Sep 2021 17:14:37 +0000</pubDate>
        <category>New to NetApp</category>
        <dc:creator>BenCoughtry</dc:creator>
        <guid isPermaLink="false">170479@/community/discussions</guid>
        <description><![CDATA[<div><p>Hello friends, hope you're all safe and well!</p><p>I'm having a problem where automation scripts using NetApp Powershell Toolkit are running successfully, but upon first cluster login triggers an 'invalid ssh login' event confirmed in ontap logs, however all commands complete successfully returning desired data.&nbsp; Functionally, the login error appears to be a false positive because the command completes.</p><p><em><u><strong>History and t-shooting steps:</strong></u></em></p><p>This started happening on multiple clusters after I generated new self signed SSL certs, as previous certs had expired.&nbsp; Confirmed credentials used are correct and all previous caches were cleared.&nbsp; I also cleared the certificate cache used by putty but no behavior change.&nbsp; Same behavior occurs sourcing Invoke-NcSsh from a completely different server which was never used for netapp automation;&nbsp; I installed the latest putty msi and latest netapp powershell toolkit, and ran Invoke-NcSsh command (output below) which completed successfully, yet still triggered an 'invalid ssh login' event.</p><p><em><u><strong>Powershell copy &amp; paste:</strong></u></em></p><p>PS C:\Windows\system32&gt; Import-Module DataONTAP<br />PS C:\Windows\system32&gt; $creds = Get-Credential</p><p>cmdlet Get-Credential at command pipeline position 1<br />Supply values for the following parameters:<br />Credential<br />PS C:\Windows\system32&gt; Invoke-NcSsh -ControllerName [xx ommitted xx] -Command "version" -Credential $creds</p><p><br />NcController : [xx ommitted xx]<br />Value :</p><p>Last login time: 9/30/2021 17:22:51</p><p>Unsuccessful login attempts since last login: 1</p><p>NetApp Release 9.6P5: Fri Dec 13 18:21:56 UTC 2019</p><p><em><u><strong>OnTap logs:</strong></u></em></p><p>Message: security.invalid.login: Failed to authenticate login attempt to Vserver: [xx ommitted xx], username: admin, application: ssh.</p><p>Notice the 'Unsuccessful login attempts since last login' in the powershell output above.</p><p><em><u><strong>Details:</strong></u></em></p><p>-User is 'admin'.</p><p>-Using putty binary file to SSH into the cluster does NOT trigger an invalid login alarm - the alarm only occurs with powershell 'Invoke-NcSsh'.</p><p>-I followed documented steps for deleting and regenerating self signed SSL certs and assign them to the cluster vserver, but this problem has been happening ever since I did this.</p><p>Has anyone run into this before?&nbsp; Any ideas would be appreciated.&nbsp; Thanks so much!</p><p>-Ben</p></div>]]>
        </description>
    </item>
    <item>
        <title>Permissions Fail After PowerShell Toolkit Upgrade</title>
        <link>https://community.netapp.com/community/discussion/438375/permissions-fail-after-powershell-toolkit-upgrade</link>
        <pubDate>Thu, 15 Sep 2022 19:29:38 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>TMADOCTHOMAS</dc:creator>
        <guid isPermaLink="false">438375@/community/discussions</guid>
        <description><![CDATA[<div><p>Hello,</p><p>I just upgraded from version&nbsp;9.10.1.2111 to version&nbsp;9.11.1.2208 of the PowerShell Toolkit. After the upgrade, all of my PowerShell scripts fail with the message shown below. Any ideas as to the cause? I reverted to the VMware snapshot I took before upgrading and verified I can run the exact same commands pre-upgrade without any errors.</p><p>Connect-NcController : The remote server returned an error: (401) Unauthorized.</p><p>FullyQualifiedErrorId : HttpConnectionFailed,DataONTAP.C.PowerShell.SDK.ConnectNcController</p></div>]]>
        </description>
    </item>
    <item>
        <title>NetAppDocs - Visio/Diagram Output</title>
        <link>https://community.netapp.com/community/discussion/138511/netappdocs-visio-diagram-output</link>
        <pubDate>Wed, 28 Feb 2018 21:00:55 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>WillFulmer</dc:creator>
        <guid isPermaLink="false">138511@/community/discussions</guid>
        <description><![CDATA[<div><p>Has anyone has luck with the DataONTAP Docs and running this command?</p><p>I am running this against ONTAP 9.2P1 clusters and it is not generating a diagram within the Word DOC output?</p><p>PS C:\&gt; Get-NtapClusterData -Name 'cluster1' | Format-NtapClusterData | Out-NtapDocument - WordFile 'D:\Output\cluster1.Docx' -ExcelFile 'D:\Output\cluster1.xlsx'</p><p>Thanks in advance,</p><p>Will</p></div>]]>
        </description>
    </item>
    <item>
        <title>Required Certificate Error During PowerShell Toolkit Installation + Other Issues</title>
        <link>https://community.netapp.com/community/discussion/170542/required-certificate-error-during-powershell-toolkit-installation-other-issues</link>
        <pubDate>Tue, 05 Oct 2021 15:26:47 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>TMADOCTHOMAS</dc:creator>
        <guid isPermaLink="false">170542@/community/discussions</guid>
        <description><![CDATA[<div><p>Hello,</p><p>I am trying to upgrade the NetApp PowerShell Toolkit from version 9.7.1 to 9.9.1, and I am finding it to be mind-numbingly confusing. First, I extracted the zip file to the download folder and tried running install.ps1 as described in the Installation Guide on page 7. I got the following error:</p><p>-----------------------------------------------------------------------------------------------</p><p>Suggestion [3,General]: The command install.ps1 was not found, but does exist in the current location. PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\install.ps1". See "get-help about_Command_Precedence" for more details.</p><p>-----------------------------------------------------------------------------------------------</p><p>I tried the recommended syntax of .\install.ps1 and got this:</p><p>-----------------------------------------------------------------------------------------------</p><p>.\install.ps1: File C:\Users\!tthomas1\Downloads\NetApp.ONTAP\Install.ps1 cannot be loaded. A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file..</p><p>-----------------------------------------------------------------------------------------------</p><p>Since that wasn't working, I manually exported the zip file to the appropriate Program Files location and ran this command:</p><p>Import-Module "C:\Program Files\WindowsPowerShell\Modules\netapp_ontap\NetApp.ONTAP\NetApp.ONTAP.psd1"</p><p>It results in the following error. Note I am running as admin.</p><p>-----------------------------------------------------------------------------------------------</p><p>Import-Module: The following error occurred while loading the extended type data file:, C:\Program Files\WindowsPowerShell\Modules\netapp_ontap\NetApp.ONTAP\DataONTAP.Type.ps1xml: The file was skipped because of the following validation exception: File C:\Program Files\WindowsPowerShell\Modules\netapp_ontap\NetApp.ONTAP\Data<br />ONTAP.Type.ps1xml cannot be loaded. A required certificate is not within its validity period when verifying against the<br />current system clock or the timestamp in the signed file...</p><p>-----------------------------------------------------------------------------------------------</p><p>I then abandoned the installation guide and went to the following post:</p><p><a rel="nofollow" href="https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-9-9-1-2106-released/m-p/167519" target="_blank">https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-9-9-1-2106-released/m-p/167519</a></p><p>I tried the Install-Module command and got the following. After entering "Y", nothing happened.</p><p>-----------------------------------------------------------------------------------------------</p><p>PS C:\Users\!tthomas1\Downloads\NetApp.ONTAP&gt; install-module NetApp.ONTAP</p><p>Untrusted repository<br />You are installing the modules from an untrusted repository. If you trust this repository, change its<br />InstallationPolicy value by running the Set-PSRepository cmdlet. Are you sure you want to install the modules from<br />'PSGallery'?<br />[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): Y</p><p>-----------------------------------------------------------------------------------------------</p><p>The last release I installed was an extremely simple executable. This is frustrating to say the least. Can someone assist?</p></div>]]>
        </description>
    </item>
    <item>
        <title>Connecting to cluster generates a &quot;Insufficient privileges&quot;  when using the default readonly role</title>
        <link>https://community.netapp.com/community/discussion/431847/connecting-to-cluster-generates-a-insufficient-privileges-when-using-the-default-readonly-role</link>
        <pubDate>Mon, 07 Feb 2022 15:20:10 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>cc2</dc:creator>
        <guid isPermaLink="false">431847@/community/discussions</guid>
        <description><![CDATA[<div><p>Hi,</p><p>Does anyone have an idea about what minimum permissions is required to connect to ontap?&nbsp;</p><p>I am using the default readonly role and every read command that I have tried works.<br />However in the auditlogs I keep getting an Insufficient privileges.<br /><br />The&nbsp;Connect-NcController tries to write to a file&nbsp; /etc/powershell.</p><p>The audit log shows the following :</p><p><span>&lt;</span><span>netapp</span> <span>version=</span><span>'</span><span>1.0</span><span>' </span><span>xmlns=</span><span>'</span><span><a href="http://www.netapp.com/filer/admin" target="_blank" rel="noopener noreferrer nofollow">http://www.netapp.com/filer/admin</a></span><span>'&gt;&lt;</span><span>system-cli</span><span>&gt;</span><span>^M</span><span> &lt;</span><span>args</span><span>&gt;</span><span>^M</span><span> &lt;</span><span>arg</span><span>&gt;</span><span>node</span><span>&lt;</span><span>/arg</span><span>&gt;</span><span>^M</span><span> &lt;</span><span>arg</span><span>&gt;</span><span>run</span><span>&lt;</span><span>/arg</span><span>&gt;</span><span>^M</span><span> &lt;</span><span>arg</span><span>&gt;controller</span><span>-a</span><span>&lt;</span><span>/arg</span><span>&gt;</span><span>^M</span><span> &lt;</span><span>arg</span><span>&gt;</span><span>-command</span><span>&lt;</span><span>/arg</span><span>&gt;</span><span>^M</span><span> &lt;</span><span>arg</span><span>&gt;</span><span>wrfile</span><span>&lt;</span><span>/arg</span><span>&gt;</span><span>^M</span><span> &lt;</span><span>arg</span><span>&gt;</span><span>/etc/powershell</span><span>&lt;</span><span>/arg</span><span>&gt;</span><span>^M</span><span> &lt;</span><span>arg</span><span>&gt;;&lt;</span><span>/arg</span><span>&gt;</span><span>^M</span><span> &lt;</span><span>arg</span><span>&gt;</span><span>node</span><span>&lt;</span><span>/arg</span><span>&gt;</span><span>^M</span><span> &lt;</span><span>arg</span><span>&gt;</span><span>run</span><span>&lt;</span><span>/arg</span><span>&gt;</span><span>^M</span><span> &lt;</span><span>arg</span><span>&gt;controller</span><span>-a</span><span>&lt;</span><span>/arg</span><span>&gt;</span><span>^M</span><span> &lt;</span><span>arg</span><span>&gt;</span><span>-command</span><span>&lt;</span><span>/arg</span><span>&gt;</span><span>^M</span><span> &lt;</span><span>arg</span><span>&gt;</span><span>wrfile</span><span>&lt;</span><span>/arg</span><span>&gt;</span><span>^M</span><span> &lt;</span><span>arg</span><span>&gt;</span><span>-a</span><span>&lt;</span><span>/arg</span><span>&gt;</span><span>^M</span><span> &lt;</span><span>arg</span><span>&gt;</span><span>/etc/powershell</span><span>&lt;</span><span>/arg</span><span>&gt;</span><span>^M</span><span> &lt;</span><span>arg</span><span>&gt;</span><span>//</span> <span>File</span> <span>generated</span> <span>by</span> <span>the</span> <span>Data</span> <span>ONTAP</span> <span>PowerShell</span> <span>Toolkit:</span> <span>powershell.usagelog.version=1:</span> <span>powershell.usagelog.lastupdated=1644250226:</span> <span>powershell.cmdlet.CONNECTNCCONTROLLER.count=1:</span> <span>powershell.cmdlet.GETNCVOL.count=1:</span> <span>powershell.usagelog.timestamp=1644250226:</span><span> &lt;</span><span>/arg</span><span>&gt;</span><span>^M</span><span> &lt;</span><span>/args</span><span>&gt;</span><span>^M</span><span> &lt;</span><span>priv</span><span>&gt;</span><span>advanced</span><span>&lt;</span><span>/priv</span><span>&gt;</span><span>^M</span><span> &lt;</span><span>/system-cli</span><span>&gt;&lt;</span><span>/netapp</span><span>&gt;</span><span>^M</span> <span>::</span> <span>Pending:</span></p></div>]]>
        </description>
    </item>
    <item>
        <title>Get-NcQuotaReport shows empty QuotaTarget</title>
        <link>https://community.netapp.com/community/discussion/440360/get-ncquotareport-shows-empty-quotatarget</link>
        <pubDate>Wed, 07 Dec 2022 03:15:18 +0000</pubDate>
        <category>Virtualization</category>
        <dc:creator>GOMJABBAR</dc:creator>
        <guid isPermaLink="false">440360@/community/discussions</guid>
        <description><![CDATA[<div><p>Running Ontap 9.11,&nbsp; &nbsp; I can't get quota reports on AD user targets.&nbsp; &nbsp; Everything appear blank for QuotaTarget.&nbsp; &nbsp;&nbsp;</p><p>Using the CLI works fine and shows the users.&nbsp; &nbsp;&nbsp;</p></div>]]>
        </description>
    </item>
   </channel>
</rss>
