Securely connecting to remote nodes is the bread and butter of PowerShell scripting. Whether you do this for remote data retrieval or for bulk changes on many resources, a secure connection is paramount.
This recipe shows you how to use different authentication methods with PowerShell core, such as the new SSH authentication, as well as stored credentials.