Accepted Solution

Powershell commands NDMP: Unable to find API

When running NDMP PowerShell commands, we have the following errors:

Get-NcNdmpNodeSession : Unable to find API: ndmp-node-session-info-get-iter
At line:1 char:1
+ Get-NcNdmpNodeSession -Controller $nas
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: ( [Get-NcNdmpNodeSession], EAPINOTFOUND
    + FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Ndmp.GetNcNdmpNodeSession

Get-NcNdmpVserverAttr : Unable to find API: ndmp-vserver-attributes-get-iter
At line:1 char:1
+ Get-NcNdmpVserverAttr -Controller $nas
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: ( [Get-NcNdmpVserverAttr], EAPINOTFOUND
    + FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Ndmp.GetNcNdmpVserverAttr

With "NetApp_PowerShell_Toolkit_4.3.0" and "NetApp Release 8.3.2 Cluster"

Any help would be greatly appreciated Smiley Happy



Re: Powershell commands NDMP: Unable to find API

Hello @vergnafi2,


It lookst like that API was not added to ZAPI until ONTAP 9, so even though there is a cmdlet for it, it won't work against an 8.3.2 cluster.


Hope that helps!



If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

Re: Powershell commands NDMP: Unable to find API

Thanks !