Skip to content

Sending email when Task Sequence success/failure?

Featured Replies

Hello All,

 

I would like an email to be generated whenever a Operating System Deployment (OSD) Task Sequence results in a fail status.

 

After Googling, I found this article:

 

http://scug.be/sccm/...e-notification/

 

I run into a problem early on when I try to choose the Component that handles Task Sequence and OSD - I can't find any Component in the list that matches what I'm expecting to see, like "SMS_TASK_SEQUENCE" or similar.

 

Is it possible I need to create this rule from the CAS or whether I need to turn on some kind of status capturing for the Task Sequence Component?

 

I'm attaching a screenshot to show what I'm referring to.

 

Any advice much appreciated.

 

Regards,

Daniel V

Melbourne, Australia

post-16372-0-13762400-1347356064_thumb.png

  • 6 months later...

Daniel,

 

Did you got a answer or found the solution to your question?

  • 1 month later...

I ran into a similar problem with this.

 

I didn't use the component option.

 

I went through the status results from the entire site and realized that anything with a message id of 11171 is a success or 11170 is a failure.

 

this is what i used

post-17870-0-17595300-1369892132_thumb.jpg

 

 

The attached a powershell script to send the email. which i got from

 

http://scug.be/sccm/2010/10/01/configmgr-osd-task-sequence-success-or-failure-notification/

 

 

Hope this helps all.

 

 

post-17870-0-17595300-1369892132_thumb.jpg

  • 2 months later...
  • 3 months later...

im spit balling here but could you read the contents of the logs and send it send the mail via powershell send mail?

  • 1 year later...

Hi All,

 

I found a simple solution to the problem in the original post. Instead of trying to choose one of the components that populate the drop-down menu, simply type in "Task Sequence Engine" or "Task Sequence Manager". I have successfully tested entering "Task Sequence Engine", so I assume it will also work for the manager.

 

The task sequence engine messages might be more than you need, since it will notify you of any step that fails - even if the task sequence continues to execute successfully (like when "ignore error" is checked on that step). The manager errors will only notify you if the task sequence totally dies.

 

Good luck all! :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.