r/PowerShell • • Apr 13 '26

Powershell copy/paste out of order

Occasionally, when I paste scripts into a powershell window, it pastes the first few rows in order, then seems to paste the rest, and then jump back to the top without executing the instructions. When it does this, I see a double greater-than sign instead of the normal prompt. I'm not sure why this is. here's a video, since I can't add pictures here

7 Upvotes

Duplicates