Hi,
I had the same problem but I didn't find any solution so following Fiery's advice I made a program that allows to do it using external application
For those interested you can find it here :
https://github.com/Leizar06001/ESP32_PC_Monitor
There is a command line soft and I tried to make a UI using Qt, which was the first time I used it, there's room for improvement but it works alright