quick PowerShell script that resembles basic ssh-copy-id functionality
If you haven't done so yet, set the execution policy for PowerShell scripts using a new Command Prompt started as Administrator: Set-ExecutionPolicy Unrestricted.
Download the Script or clone the repository, and run it in a PowerShell window e.g.: ./ssh-copy-id.ps1 -username "abc" -hostname "def"
If you have multiple public key files, you can specify the path with -publicKeyPath "path".
If you haven't connected to the host before, you will be asked to accept the fingerprint of the host and enter your password.