Jump to content


dverbern

Sending email when Task Sequence success/failure?

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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! :)

Share this post


Link to post
Share on other sites

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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.