New
#11
Last edited by Try3; 06 Apr 2019 at 11:56.
True. I remember that from XP days. Didn't mention because so few people use IE anymore. But, if you want to limit it to File Explorer windows, use:
KeithCode:(New-Object -ComObject Shell.Application).Windows() | ?{$_.name -match 'file'} | %{$_.quit()}
Wouldn't it be as easy, or easier, to Ctrl+Shift+right click Taskbar and Exit Explorer?
Hello @rdwray,
If you are wanting a way to close all explorer instances and restart the explorer process, then you might see if the context menu added by the tutorial below may work for you for this.
Restart Explorer Context Menu - Add in Windows 10