I have a script that we use at several locations to set snapmirror-labels. Runs just fine on all my other systems, but here I'm getting an error on the Get-NCSnapshot command.
WARNING: Record doesn't exist
I've tried extending my timeout ($global:CurrentNCController.TimeoutMsec=600000), and that helped some, but I'm still getting this error. The system I'm connecting from is on the same subnet, and I can HTTPS or SSH into the system with no delay or issue. Running "volume snapshot show -vserver <vserver name> -volume <volume name>" via SSH runs instantly, no delay...but running "Get-NCSnapshot -vserver <vserver name> -volume <volume name>" takes forever...it will list a couple of snapshots, then give that warning message.
I'm running ONTAP 9.12.1P4, with the Powershell module version 9.13.1.2306 on Powershell 5.1, in Windows Server 2019.