New
#1
How to terminate all jobs running on a specific virtual desktop?
Is there any way to find and shut down all the tasks which have windows open on a particular virtual desktop?
Background:
I've had great success using virtual desktops to organize my workflow, with tasks related to a particular project running on the same virtual desktop. Starting them up quickly is easy: I wrote a script which uses VDesk ( GitHub - eksime/VDesk: Launch programs on new virtual desktops. ) to start related applications on the appropriate virtual desktop. Unfortunately, shutting those applications down again is more problematic. At the moment, I have to manually select each one to close it, which can get tedious after a while.
Closing a virtual desktop is easy, but just makes things worse. The windows open there don't get closed. Instead, they get migrated to another virtual desktop.
I've found lots of Web pages which discuss managing Windows Virtual Desktops, but they all seem to be about using Azure to run Windows VMs in the cloud, a completely different topic.