Hi PowerShell community,
Very glad to announce availability of Data ONTAP PowerShell Toolkit Version 3.2.1. Please see release notes below.
Version 3.2.1 release notes:
The Data ONTAP PowerShell Toolkit can now be downloaded on the NetApp support site: http://support.netapp.com/NOW/download/tools/powershell_toolkit/
Toolkit 3.2.1 includes complete API coverage for Data ONTAP 8.3. This includes 141 new cmdlets and 42 updates to existing cmdlets..
The following are new categories of cmdlets introduced in Data ONTAP 8.3:
The following categories have new cmdlets added:
Check out "Making the Most of Data ONTAP PowerShell Toolkit" for more details on the new features. If you're new to PowerShell or the Toolkit, you might want to start with our "Getting Started" slides.
I installed the tool kit and when i try to import eh module i get this:
PS C:\> Import-Module DataONTAP
Import-Module : Could not load file or assembly
'file:///C:\Windows\system32\WindowsPowerShell\v1.0\Modules\DataONTAP\OntapiPS.dll' or one of its dependencies.
Operation is not supported. (Exception from HRESULT: 0x80131515)
At line:1 char:1
+ Import-Module DataONTAP
+ CategoryInfo : InvalidOperation: (:) [Import-Module], FileLoadException
+ FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand
What did I do wrong?
Can you try importing the module with the full-path (`Import-Module <install-path>\DataONTAP`)?
The default install path is "c:\Program Files(x86)\NetApp\DataONTAP" (or c:\Program Files\NetApp\DataONTAP in case of 32-bit Windows).
Let me know if this doesn't solve the issue.
Hi frhell and swe,
Can you please try the new download link (for NetApp PowerShell Toolkit 4.0, which contains DataONTAP PowerShell Toolkit 3.3)?
Please verify you are logged in to mysupport.netapp.com when trying to access the link. Being logged in to community.netapp.com might not be enough for the download link to work.
Hope this helps,
I encountered a similar problem once - the culprit turned out to be blocked dll-s. Have you checked if the toolkit's files are blocked? (Right-click on the DLL file PowerShell throws the error for, select properties and see if an "Unblock" option appears. Select that to unblock the file)
Do let me know if this helps,
I am not getting all cmd's in my powershell window. Can anyone help me on this issue please.
PS I:\Scripting> Get-Command -Module DataONTAP
CommandType Name ModuleName
----------- ---- ----------
Alias Add-NcHostIscsiConnection DataONTAP
Alias Connect-NcHostIscsiTarget DataONTAP
Alias ConvertTo-NcLun DataONTAP
Alias ConvertTo-NcVhd DataONTAP
Alias ConvertTo-NcVhdx DataONTAP
Alias ConvertTo-NcVmdk DataONTAP
Alias Copy-NcHostFile DataONTAP
Alias Disconnect-NcHostIscsiTarget DataONTAP
Alias Dismount-NcHostVolume DataONTAP
Alias Dismount-NcVirtualDisk DataONTAP
Alias Format-NcHostVolume DataONTAP
Alias Get-NcHostDisk DataONTAP
Alias Get-NcHostFcAdapter DataONTAP
Alias Get-NcHostIscsiAdapter DataONTAP
Alias Get-NcHostIscsiSession DataONTAP
Alias Get-NcHostIscsiTarget DataONTAP
Alias Get-NcHostVolume DataONTAP
Alias Get-NcHyperV DataONTAP
Alias Get-NcVirtualDiskAlignment DataONTAP
Alias Get-NcVssProvider DataONTAP
Alias Get-NcVssSnapshot DataONTAP
Alias Get-NcVssWriter DataONTAP
Alias Initialize-NcHostDisk DataONTAP
Alias Invoke-NcHostVolumeSpaceReclaim DataONTAP
Alias Invoke-NcVirtualDiskSpaceReclaim DataONTAP
Alias Invoke-NcVssBackup DataONTAP
Alias Mount-NcHostVolume DataONTAP
Alias Mount-NcVirtualDisk DataONTAP
Alias New-NcHostVolume DataONTAP
Alias New-NcVirtualDisk DataONTAP
Alias Remove-NcHostFile DataONTAP
Alias Remove-NcHostIscsiConnection DataONTAP
Alias Remove-NcHostVolume DataONTAP
Alias Repair-NcVirtualDiskAlignment DataONTAP
Alias Restore-NcHostFile DataONTAP
Alias Set-NcHostDisk DataONTAP
Alias Set-NcHostVolumeSize DataONTAP
Alias Set-NcVirtualDiskSize DataONTAP
Alias Start-NcHostDiskRescan DataONTAP
Alias Wait-NcHostDisk DataONTAP
Function Add-NaHelpInfoUri DataONTAP
I hope somebody can help with what is probably quite a simple query. I have a FAS3240HA with no CIFS license and would like to use PowershellONTAP. When I try connecting I get an RPC error and from searching online, it appears that I need to run cifs setup to resolve. Is this something I should be able to do without a CIFS license? Or is there another way I can overcome this without running CIFS Setup?
Without knowing what the exact RPC error is, it is difficult to suggest a resolution.
But a workaround would be connecting using HTTP/HTTPS (syntax below).
Connect-NaController <controller name or ip> -HTTPS
Hope this helps!
Me too can not get to the download page. It responds with 401 - Unauthorized Access.
I have registered with a company email address and supplied SystemID for a NetApp unit.
I am also logged in at the site (or else I would not be able to write this).
Please advice or publish a working download link, or send it as a PM.
Thanks & regards
NetApp Wins One Silver and One Bronze Stevie® Award in 2022 Stevie Awards for Sales and Customer Service