You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
@vishiy @rashmichandrashekar
I am using https://github.com/microsoft/OMS-docker/blob/ci_feature_prod/docs/aks/mdmonboarding/mdm_onboarding.ps1
I noticed that it exits incorrectly using
exitThis sets the exit code to 0 and allows apps to continue.You should either throw, or use exit 1 or something else. See https://devblogs.microsoft.com/powershell/windows-powershell-exit-codes/
I was expecting when the scrip failed, to fail my script runner.