There is a dataprotection SVM on the cluster. Script displays ok until hit the DR-SVM. It throws this error and continue with the rest of the SVMs
Get-NcEfficiency : Object reference not set to an instance of an object. At line:2 char:1 + Get-NcEfficiency -vserver $Vserver | + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (xx.xxx.xxx.xxx:NcController) [Get-NcEfficiency], NullReferenceException + FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Toolkit.Efficiency.GetNcEfficiency
Any work around to supress this error and display the data for the DR-SVM also?
Unfortunatly, that didn't solve the issue. Error message still appearing and I still want my DR SVM volumes also included in the report. BTW: all my SVMs are data and subtype default (except node ones and admin one)