How To Copy Files Over WinRM With PowerShell

What happens when you can’t copy files over SMB? Simple. We can use PowerShell Remoting (WinRM) to do so! Using the Copy-Item cmdlet, we can easily use the WinRM transport to copy files to/from a remote session.