1
I have an issue in PowerShell ISE (Windows 7) where it takes around 2-3 seconds after copying some text from the scripting area before it actually saves into the clipboard. During this time the ISE window is unresponsive.
I don't experience this on any other machine, only my main computer at work, and I can't seem to find anything else on the internet about it.
My PC has done this for as long as I can remember, so still experiencing the issue after many a PC and ISE restart.
I also noticed the delay is present no matter how I copy the text:
Ctrl + C
Right-Click + 'Copy'
$ "test text" | clip
Does anyone know what causes this issue, and how I can resolve it?
Thanks
1Have you tried launching the ISE without a profile?
powershell_ise.exe -NoProfile
– root – 2016-10-20T16:01:59.677@root Thanks for your comment - just tried that and there is still about a 2 second delay when copying – Bassie – 2016-10-20T16:03:53.593
1Are other copy to clipboard commands slow as well? Have you tried restarting PowerShellI ISE? Have you tried restarting your computer? – DavidPostill – 2016-10-20T17:26:27.367
@DavidPostill Copy and Paste both work normally in other applications - it is only in ISE that I sae this issue. It happens no matter which way I copy the text (I tried 3 different methods listed in the question) – Bassie – 2016-10-24T09:39:19.463
1i'd first try a
sfc /scannow
which almost never helps but still is a good starting point. if that doesn't cure the issue, have you considered updating your PowerShell to a new version? – SimonS – 2016-10-25T12:19:38.623@SimonS I think the
sfc /scannow
actually did it! – Bassie – 2016-10-25T14:12:53.830@Bassie ok very nice! i'll expand it to an answer – SimonS – 2016-10-25T19:35:52.420