Maybe I am just slow, but I never picked this up before. There is actually a command in Windows that lets you copy stuff from your command directly into the clipboard. The command is named CLIP.exe.
Lets say I want the ping result into clipboard I can use this command:
You can also do this in powershell. Let’s say you got a text file and you want the content of it to the clipboard:
I am sure this command has been in windows quite some time. Probably from 2003/XP. I hope this was new information for more than just me….. J