Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (New-Object -comObject Shell.Application).Windows() | foreach-object {$_.quit()}
- Get-Process | Where-Object {$_.MainWindowTitle -ne ""} | stop-process
- powershell -noexit "(New-Object -comObject Shell.Application^).Windows(^) ^| foreach-object {$_.quit(^)}"
- powershell -noexit "Get-Process ^| Where-Object {$_.MainWindowTitle -ne ""} ^| stop-process"
Add Comment
Please, Sign In to add comment