I need to execute a long running script (bat, powershell, whatever) on my server from an interactive RDP session and logoff the RDP session while the script keeps running.
How do I do ? A bonus would be to be able to reclaim the command line console when I login again.
Note: Simply closing the RDP session (without logoff) is not considered an acceptable solution in my case.