Discuss NetApp solutions for Microsoft Private Cloud and the Hyper-V platform, including FlexPod Datacenter, NetApp OnCommand Plug-in for Microsoft, and Data ONTAP PowerShell Toolkit.
Discuss NetApp solutions for Microsoft Private Cloud and the Hyper-V platform, including FlexPod Datacenter, NetApp OnCommand Plug-in for Microsoft, and Data ONTAP PowerShell Toolkit.
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 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...
... View more
I did the following with Powershell, but it doesn't seem to work properly on the Stripe volume. Is it correct to work with Stripe volume? PS C:\Program Files (x86)\NetApp\NetApp PowerShell Toolkit\Modules> get-nahostdisk HostDrivePath Disk Size ControllerPath ------------- ---- ---- -------------- D:\ 0 279.4 GB E:\ 1 279.4 GB F:\ 2 1.7 TB test:/vol/aaa/lun0 F:\ 3 1.7 TB test:/vol/aaa/lun1 F:\ 4 1.7 TB test:/vol/aaa/lun2 F:\ 5 1.7 TB test:/vol/aaa/lun3 PS C:\Program Files (x86)\NetApp\NetApp PowerShell Toolkit\Modules> invoke-nahostvolumespacereclaim F: Reclaim volume free space Are you sure you want to reclaim free space on volume F:\? [Y] Yes(Y) [A] All Yes(A) [N] No(N) [L] All No(L) [S] Suspend(S) [?] Help (default is "Y"): a <-- It is said that this part cannot be the same even if it is Y. invoke-nahostvolumespacereclaim: Target volume is not limited to one physical disk. Position Line: 1 Character: 1 + invoke-nahostvolumespacereclaim F: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo: InvalidOperation: (:) [Invoke-NaHostVolumeSpaceReclaim], ArgumentException + FullyQualifiedErrorId: QuickReclaimVolume failed,DataONTAP.PowerShell.SDK.Cmdlets.Windows.InvokeNaHostVolumeSpa ceReclaim PS C:\Program Files (x86)\NetApp\NetApp PowerShell Toolkit\Modules>
... View more
Hi, Is there a powershell toolkit equivalent to this command: "vserver cifs users-and-groups update-names" Thanks a lot for any help! Didier
... View more