I recently update our NetApp PSTK from 9.8 to 9.14.1.2401, and since the queries in my scripts are failing (see output below from 9.8 and 9.14). Get-NcNetDeviceDiscovery is the only command I use the query with, so I don't know if it's all commands or just that one.
Does anyone know why I'm getting this error and how I can fix it?
Query with PSTK 9.8:
``PS C:> Get-NcNetDeviceDiscovery -Query @{Node="cluster01-01";Port="e0M"}
DiscoveredDevice Node Interface Port Platform Capabilities
switchname... cluster01-01 Gi1/0/3 e0M {router, trans_br...``
Query with PSTK 9.14.1.2401:
``PS C:> Get-NcNetDeviceDiscovery -Query @{Node="cluster02-01";Port="e0M"}
Get-NcNetDeviceDiscovery : [400]: Field "return_unmatched_nested_array_objects" was specified twice (to "false" and "false").
At line:1 char:1
- Get-NcNetDeviceDiscovery -Query @{Node=" cluster02-01";Port="e0M"}
-
+ CategoryInfo : InvalidOperation: (:) [Get-NcNetDeviceDiscovery], Exception + FullyQualifiedErrorId : 400,DataONTAP.C.PowerShell.SDK.Cmdlets.Net.GetNcNetDeviceDiscovery ``