Copy and paste in Windows PowerShell

copy/pastepowershell

How do I effectively copy and paste input and output in the Windows PowerShell?

Best Answer

  • To select text in PowerShell with the mouse, just select it as usual.
  • To copy the selected text to the clipboard you have to either hit Enter, or right-click.
  • To paste into the PowerShell window, right click.

keyboard

  • Paste: alt+[space], e, p


Note: In current versions of Windows 10, Ctrl+C, and Ctrl+V work as expected.

Related Question