It works fine on 2012 but has issues starting on 2019, I am guessing it is in the structures for reading the registry, but it is over my head...
Testing.exe OnStart() // Failed to start C:\Windows\System32\Testing.ps1. {Application Error}
The application was unable to start correctly (0x%lx). Click OK to close the application