Thanks for the tips, Jeremy. I think I am very close to password-less ssh commands to a Linux host from within WFA.
It seems like the DataONTAP PoSH module that is included with WFA does not include the -PrivateKeyFile parameter as part of Invoke-NaSsh. I downloaded the latest NetApp Powershell Toolkit and replaced the one in C:\Program Files\NetApp\WFA\PoSH\Modules\
The following command does work from within a PowerShell command window (192.168.24.131 is a CentOS host):
Invoke-NaSsh -Name root@192.168.24.131 -PrivateKeyFile C:\scripts\private.ppk -Command 'mkdir /mnt/new_dir'
However, when I try to run the same command from within WFA, I get the following error:
00:16:44.178 INFO [MakeDir] ### Command 'MakeDir' ###
00:16:44.864 ERROR [MakeDir] Failed executing command. Exception: The following error occurred while loading the extended type data file:
Microsoft.PowerShell, C:\Program Files\NetApp\WFA\PoSH\Modules\DataONTAP\DataONTAP.Type.ps1xml : File skipped because of the following validation exception: AuthorizationManager check failed..
Microsoft.PowerShell, C:\Program Files\NetApp\WFA\PoSH\Modules\DataONTAP\DataONTAP.C.Type.ps1xml : File skipped because of the following validation exception: AuthorizationManager check failed..
Is this happening because I "upgraded" the included DataONTAP PowerShell toolkit?
Thanks again for all of your help!