Don't try to run the PowerShell Script for now. It will prevent your PC from Modern Standby (as designed), but won't provide a user-friendly method to end the program.
If you have suffered from black screen, press "Win + P" for two times, then everything will be fine.