PS Z:\Users\it\Desktop> Connect-NaController 10.4.130.12
Connect-NaController : Failed to load ntapadmin64 DLL
At line:1 char:1
+ Connect-NaController 10.4.130.12
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidResult: (10.4.130.12:NaController) [Connect-NaController], Exception
+ FullyQualifiedErrorId : RpcConnectionFailed,DataONTAP.PowerShell.SDK.ConnectNaController
PS Z:\Users\it\Desktop> Connect-NaController 10.4.130.12 -HTTPS
WARNING: Use Connect-NcController for Data ONTAP Cluster-mode.
Name Address Vserver Version
---- ------- ------- -------
10.4.130.12 10.4.130.12 NetApp Release 9.3: Thu Jan 04 10:56:26 UTC 2018
PS Z:\Users\it\Desktop> $con = Connect-NaController 10.4.130.12 -HTTPS
WARNING: Use Connect-NcController for Data ONTAP Cluster-mode.
PS Z:\Users\it\Desktop> $con.gettype()
IsPublic IsSerial Name BaseType
-------- -------- ---- --------
True True NcController NetApp.Ontapi.AbstractController
PS Z:\Users\it\Desktop> Get-NaQuotaReport
Get-NaQuotaReport : Value in $global:CurrentNaController is not of type NetApp.Ontapi.Filer.NaController
At line:1 char:1
+ Get-NaQuotaReport
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Get-NaQuotaReport], ArgumentException
+ FullyQualifiedErrorId : ControllerNotSpecified,DataONTAP.PowerShell.SDK.Cmdlets.Quota.GetNaQuotaReport
PS Z:\Users\it\Desktop> Get-NaQuotaReport -Controller $con
Get-NaQuotaReport : Cannot bind parameter 'Controller'. Cannot convert the "10.4.130.12" value of type "NetApp.Ontapi.Filer.C.NcController" to type "NetApp.Ontapi.Filer.NaController".
At line:1 char:31
+ Get-NaQuotaReport -Controller $con
+ ~~~~
+ CategoryInfo : InvalidArgument: (:) [Get-NaQuotaReport], ParameterBindingException
+ FullyQualifiedErrorId : CannotConvertArgumentNoMessage,DataONTAP.PowerShell.SDK.Cmdlets.Quota.GetNaQuotaReport
Tools Version: NetApp_PowerShell_Toolkit_9.7.1.0