Closed tintse-thxsky-MSFT closed 5 months ago
Add $ErrorActionPreference = "Stop", so that on error the script will stop and fully output the error message.
Currently it doesn't stop, and the error message is truncated so it's hard for users to understand what the problem is.
Add $ErrorActionPreference = "Stop", so that on error the script will stop and fully output the error message.
Currently it doesn't stop, and the error message is truncated so it's hard for users to understand what the problem is.