Make the sample WSL_POST_BUILD_COMMAND more resilient by OneBlue · Pull Request #13652 · microsoft/WSL

Summary of the Pull Request

This change updates the sample WSL_POST_BUILD_COMMAND to include the usual -ExecutionPolicy Bypass -NoProfile -NonInteractive arguments when calling powershell

PR Checklist

  • Closes: Link to issue #xxx
  • Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
  • Tests: Added/updated if needed and all pass
  • Localization: All end user facing strings can be localized
  • Dev docs: Added/updated if needed
  • Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed