@mbeattie wrote:
Hi,
There have been a number of issues with Invoke-NcSsh and Putty
https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Invoke-NcSsh-failing-with-ONTAP-9-3/td-p/137313/page/2
Have you considered using "Invoke-NcSystemApi" as an SSH replacement? What SSH commands are running in your script?
/Matt
Hi Matt,
Yeah I've considered using "Invoke-NcSystemApi" as an alternative but haven't got round to testing it.
These are the "Invoke-NcSsh" commands I'm trying to run,
Invoke-NcSsh -Command "system timeout show"
Invoke-NcSsh -Command "security ssh show"
Invoke-NcSsh -Command "vserver services web show -ssl-only false -name spi"
Invoke-NcSsh -Command "vserver services web show -ssl-only false -name ontapi"
Invoke-NcSsh -Command "system services ndmp show"
I'll be more than happy to switch to their native cmdlets if one exists and if not, "Invoke-NcSystemApi" but I'll probably need some help with "Invoke-NcSystemApi".