Ensure that PowerShell is only checked in cases where the config specifies that powershell scripts are used. Additionally, clean up the error handling path to only report error if RegCreateKeyEx returns an error other than ERROR_FILE_NOT_FOUND which is expected when the powershell feature has been turned off
fd48e92Jason Holmes86mo ago