Expose exit_code for cmdlet_result and use to detect DSC resource installation problems