Allows custom configuration of the powershell timeout and bumps the default timeout from 10 seconds to 30 seconds. Fixes #9629