Dear PowerShell community,
We are glad to announce the release of the NetApp® ONTAP® 9.9.1.2106 PowerShell Toolkit.
PowerShell Toolkit Upgrade and Backward Compatibility
The toolkit name has been changed from DataONTAP to NetApp.ONTAP. To provide backward compatibility i.e. existing scripts compatibility and to allow users to import the module using the previous name, complete the following steps:
PowerShell Gallery
- Use cmdlet uninstall-module DataONTAP if an older package is available.
- Use cmdlet install-module NetApp.ONTAP to install the ONTAP 9.9.1.2106 package.
- Execute the following two commands.
Before executing these commands, ensure that “C:\Program Files\WindowsPowerShell\Modules\NetApp.ONTAP” exists. This is the default location where the PowerShell gallery install module resides. If this location has been updated, update the path accordingly.
- New-Item -ItemType SymbolicLink -Path ("C:\Program Files\WindowsPowerShell\Modules\DataONTAP") -Target ("C:\Program Files\WindowsPowerShell\Modules\NetApp.ONTAP")
- New-Item -ItemType SymbolicLink -Path ("C:\Program Files\WindowsPowerShell\Modules\DataONTAP\9.9.1.2106\DataONTAP.psd1") -Target ("C:\Program Files\WindowsPowerShell\Modules\DataONTAP\9.9.1.2106\NetApp.ONTAP.psd1")
- Once the commands have completed, import the module using both names “DataONTAP” and “NetApp.ONTAP”.
NetApp ToolChest
- Download the package from the ToolChest.
- Extract the package.
- Execute Install.ps1 and enter the location where you want to update the existing package or do a fresh installation.
- Once the command has completed, import the module using both names “DataONTAP” and “NetApp.ONTAP”.
For more details refer to PowerShell Toolkit Installation Guide
Regards,
NetApp PowerShell Toolkit Team