Copy CMD Output to Clipboard

C:\Users\USER-PC>ipconfig | clip


You may change ipconfig to other CMD function.