For some god-awful reason my Juniper Terminal Services Client likes to disappear from my taskbar on Windows 10. This results in having to use the Task Manager or a program like Process Explorer to “bring to front”. It only disappears when minimizing from a full screen, not windowed #weird. Anyways, this script can be executed manually (not efficient or quick) or create a shortcut to run it (work smarter, not harder)!

You can run the command via: .\BringToFront.ps1 -ProcessName dstermserv

Or create a Windows shortcut and use this as the path: %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe -command “path\to\BringToFront.ps1 -ProcessName dstermserv”