Windows is still most popular operating system for clients and many administrators using Windows as client to managing infrastructure. But the administration needs to interacting with some Linux servers or other systems that using OpenSSH server as connection gateway for accessing to shell.
Run a simple command needs passing credential to the target server or exchange keys between client and target system. But you need to passing credential by secure way. PowerShell would help you for securing credential and passing credential to some tools in Windows without any additional programming.
What Do You Need?
First PowerShell which available on your Windows or your can install it easily.
Second, plink.exe which available on Putty package. This example run command by plink.exe but you can pass credential to other tools as well.
Here is a simple script for run a command on target Linux server: