New
#41
You still need the call to PowerShell, I was just showing edited parameter.
The full shortcut target would be:
Edit: works better closing Explorer windows first.
PowerShell -command "(New-Object -ComObject shell.application).windows() | %{$_.quit()}; Get-Process | Where-Object {$_.MainWindowTitle -ne ''} | stop-process"
Keith
Last edited by KeithM; 28 Nov 2018 at 15:30. Reason: update
It now works Keith. I was just pasting all within the " ". Once I realized I needed to include PowerShell - command as well, it worked.
I will now mark this thread as Solved. Thank you all who contributed, I am most grateful.