[Windows / DOS / PowerShell] File upload in command line – one liner

How to upload / transfer a file through a shell / terminal DOS on Windows? There is no "wget" easy to use on these OS; many pentesters are being ripped hair to transmit a payload.exe when they gain a shell or reverse-shell on a compromised a machine.
Many methods exist, starting from solutions. Read more