NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Microsoft Virtualization Discussions

first cmdlet always fail after "connect-controller" since version 9.15.1.2410

yala37
1,187 Views

Hi All,

 

Since update from 9.1.15.2407 to 2410 there is a failure of the first cmdlet following 'connect-controller', example : 

#Import-Module -force DataONTAP

$Credential = Import-Clixml $CredentialXmlNetappPath -ErrorAction SilentlyContinue 

$ncController = Connect-NcController $ClusterName -Credential ($Credential) -Timeout 600000

PS C:\Windows\system32> Get-NcAggr
Get-NcAggr : Le serveur distant a retourné une erreur : (400) Demande incorrecte.
Au caractère Ligne:1 : 1
+ Get-NcAggr
+ ~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-NcAggr], WebException
+ FullyQualifiedErrorId : System.Net.WebException,DataONTAP.C.PowerShell.SDK.Cmdlets.Aggr.GetNcAggr

PS C:\Windows\system32> Get-NcAggr

Name State TotalSize Used Available Disks RaidType RaidSize Volumes
---- ----- --------- ---- --------- ----- -------- -------- -------
fp_004TB_dpa1nc01_1 online 153,9 TB 110,0 TB 51 17

 thanks in advance

 

powershell 5.1

Windows 2019

Ontap 9.14.1P8

regards,

 

Yannick

 

1 REPLY 1
Public