We have been using NetApp PowerShell Toolkit for many years and it has been reasonbly predictable until now. Suddenly, scripts starts to fail after upgrading (in this case to module NetApp.ONTAP version 9.14). Scripts that completed in seconds takes several minutes. One example:
- Create share with Add-NcCifsShare
- Wait (sleep) for 20 seconds for the share to be created. 2 seconds should be more than enough...
- Copy an ACL from a template volume with Set-Acl, but this fails as the share does not yet exist!
(PowerShell 7.2.5 @ Windows Server 2019)
Listing snapshots, as described in a previous post, is ridiculously slow. Seriously, a cmdlet returning one or two snapshots per minute is totally useless for large-scale automation.
And there are numerous other use cases where we simply skipped the NetApp PowerShell Toolkit and wrote our own REST-based functions. A lot of error handling must be added, but what else can we do...
What is the state of the union - I guess we are not the only shop suffering from this? And what is the plan forward for the toolkit?
Cheers