-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Create a template script for configuring logging, running an executable, and capturing output (including exit code and standard error/output. Everything should be logged to a single file.
Potential Resources
- Useful examples
- Use both a standard cmd batch file and PowerShell installation script
- Better exit codes: https://www.reddit.com/r/SCCM/comments/ds1fnh/sending_exit_codes_to_cm_through_powershell/
- https://www.reddit.com/r/SCCM/comments/g5drpd/sccm_application_installer_closes_before_it_is/
- https://stackoverflow.com/questions/19410644/is-there-a-way-to-make-powershell-wait-for-an-install-to-finish
- https://www.reddit.com/r/SCCM/comments/nav45b/comment/gxw9bb8/
- Alot to unpack, but promising: https://discourse.psappdeploytoolkit.com/t/returning-exit-codes-to-sccm/1048
Metadata
Metadata
Assignees
Labels
No labels