-
NetApp.ONTAP PowerShell Toolkit Installation Error (version 9.19.1.2608)
I got the below error while running the .\Install.ps1 Any ideas how to fix this?tia#—————————————————————————————————————————————-Output running PWSH 7 as Admin PS E:\Library\Tech Vendors\NetApp\powershell.ontap\NetApp.ONTAP\NetApp.ONTAP> .\Install.ps1 NetApp ONTAP PowerShell Toolkit Installer Running on: Windows…
-
PowerShell Toolkit - Automating Qtree and Share Creation Issues
I am working on some automation using powershell and the powershell toolkit. 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". It fails saying, "ShareProperties…
-
Stop-NcSis : This operation is not permitted on a Vserver that is configured as....
Stop-NcSis : This operation is not permitted on a Vserver that is configured as the destination for identity discard Vserver DR. I am trying to run Stop-NcSis but getting the above error. Please refer to the screenshot attached. Also tried below cmd: Invoke-NcSsh -Command 'set -privilege diag; vserver config override…
-
PowerShell Command Error: Get-NcCifsSession and Get-NcCifsSessionFile
Several ONTAP storage clusters are providing ONTAP Connection IDs larger than 64Bit Integer can support. The commands are failing with this error: Get-NcCifsConnection : Error converting value 12930960430088848194 to type 'System.Nullable`1[System.Int64]'. Path 'sessions[0].identifier', line 18, position 40. At line:1…
-
How to set up user quota with the ONTAP Powershell toolkit
Storage is running ONTAP 9.14.1, and Powershell toolkit is 9.16.1.2501. I'm trying to use the ONTAP Powershell toolkit on storage that's connected to AD to set up user quotas. Powershell entered a command to generate a user quota and got an error message PS > $Volume = 'userdata_test' PS > $UserID = '1653409' PS > $VServer…
-
Powershell Healthchecck
Hey Team, 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. I'm new to PS and frankly have no idea where to start, any suggestions on how to get going? I want to check things like capacity, efficiency, etc. My goal is to…
-
get-ncjob missing job-id and JobName
Hi, when running get-ncjob we found, that there are missing information. So essential the Job-ID and JobName. IsRestarted : JobAffinity : JobCategory : JobCompletion : success JobDescription : DELETE /api/storage/volumes/fc72f0e5-1817-11ef-9f60-00a098ff672f/snapshots/d11c4011-28bc-4c8e-9452-93157cf46bb2 JobDropdeadTime :…
-
PowerShell Toolkit Won't Upgrade
I just upgraded the PowerShell Toolkit from 9.15.1.2407 to 9.16.1.2410. As it seems to happen with nearly every upgrade, it isn't working. First, what happened to install.ps1? That made installations super easy and now it's gone. Second, if I understand correctly, we should unzip the NetApp.OnTAP download, then unzip the…
-
Purge volume recovery-queue powershell toolkit
Hi everyone, I would need to purge the volume-recovery queue in my script. I can't find the cmdlet. Can someone give me some advice please? Thank you very much and have a nice day! Bye
-
Ontap commands run from Powershell
Hello all, Need some help. I want to run the following: volume snapshot show -fields create-time, size, state, is-constituent Using the Ontap Powershell and redirect it to a local Excel format. I can get connected to my Clusters using the Connect-NcController, just cannot get the syntax correct for the volume command. Any…