Active IQ Unified Manager Discussions
I want to run a nodeshell command in Powershell. Is it possible?
Especially I want to get the amount of CRC errors on e0a and e0b ports.
For this purpose I use the "node run -node * ifstat e0a" command.
How can I check the CRC eroros on this ports and get informed wehn they increase?
See The Solution
You can use the "Invoke-NcSsh" cmdlet to run any command (including nodeshell commands) like this:
Invoke-NcSsh -Command "node run -node * ifstat e0a"
However, you may be able to also do it a little more elegantly and without a dependence on SSH by using the code posted by @asulliva in this thread: https://community.netapp.com/t5/Data-ONTAP-Discussions/Getting-interface-CRC-errors-using-NMSDK-API/td-p/131663
View solution in original post