Sends notification emails upon completion of a tasksequence with information regarding the tasksequence
- Copy sccm_ts_notify.ps1 to a location on the primary SCCM server
- Navigate to Administration > Site Configuration > Sites in Configuration Manager
- Select the appropriate site and right-click > Status Filter Rules
- Click Create and name the new status filter rule
- Check Message ID and type in 11171, click Next
- Check Report to the event log and Run a program, type in C:\windows\system32\WindowsPowerShell\v1.0\powershell.exe -file C:\PathTo\sccm_ts_notify.ps1 -MachineName %msgsys -Success
- Click Next, Next, Close
- Repeat Steps 4 - 7, to create a new status filter for failed task sequences. This time for Message ID use 11170 and replace -Success with -Fail