Microsoft Virtualization Discussions

Get-NcNetDeviceDiscovery cmdlet error

moep
1,061 Views

I was trying to migrate to the new Powershell Toolkit version 9.11.1.2208 and observe the following error:

 

PS> Connect-NcController cluster -cred $cred

Name Address Vserver Version
---- ------- ------- -------
cluster 10.1.1.1 NetApp Release 9.10.1P8: Tue Sep 13 14:10:13 UTC 2022

 

PS> Get-NcNetDeviceDiscovery
Get-NcNetDeviceDiscovery: [400]: The value "discovered_devices" is invalid for field "fields" (<field,...>)

 

When I use it with -ZAPICall it works fine. Looks like a bug to me.

 

1 REPLY 1

jcolonfzenpr
1,034 Views

The NetApp.ONTAP v9.11.1.2208 module is garbage. I don't know how this modules passed the QA checks. I uninstalled it and reinstalled v9.10.1.2111.

 

Get-Module -ListAvailable NetApp.ONTAP | Uninstall-Module -Force

Install-Module -Name NetApp.ONTAP -RequiredVersion 9.10.1.2111

 
Jonathan Colón | Blog | Linkedin
Public