Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
4 REPLIES 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey all! Thanks for this new release. When I try to download using the PSGallery I get an error...
Spoiler
PackageManagement\Install-Package : The module 'NetApp.ONTAP' cannot be installed or updated because the authenticode
signature of the file 'NetApp.ONTAP.psd1' is not valid.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 char:21
+ ... $null = PackageManagement\Install-Package @PSBoundParameters
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package],
Exception
+ FullyQualifiedErrorId : InvalidAuthenticodeSignature,ValidateAndGet-AuthenticodeSignature,Microsoft.PowerShell.P
ackageManagement.Cmdlets.InstallPackage
signature of the file 'NetApp.ONTAP.psd1' is not valid.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 char:21
+ ... $null = PackageManagement\Install-Package @PSBoundParameters
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package],
Exception
+ FullyQualifiedErrorId : InvalidAuthenticodeSignature,ValidateAndGet-AuthenticodeSignature,Microsoft.PowerShell.P
ackageManagement.Cmdlets.InstallPackage
I'm also seeing this on the DataONTAP module (latest) but not version 9.7.1.1.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a version for PowerShell on Red Hat Linux?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Check out this link:
Once you have installed pscore on linux you can install the Ontap modules from the pwsh console.
Install-module NetApp.ONTAP
Hope this helps!
