We want to run commands on our network devices via SSH from within a powershell script. I know that we can do:
ssh [email protected]
But this is interactive and requires you to accept the RSA key into your known host and stuff. So we were using PoshSSH as a module to achieve our goal in the past. But we have some issues with PoshSSH and were wondering after all these years, if there is a native solution within powershell that achieves the same result without installing a module?