Jimmy Harper's Operations Manager Blog

Posts in this blog are provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified in the Terms of Use

Get a list of email addresses used in SCOM notifications

Get a list of email addresses used in SCOM notifications

  • Comments 2
  • Likes

I haven’t blogged in a while, so need to make sure this thing is still on :)  I’ll start with something simple that I used today.  One of my customers is migrating from SCOM 2007 to SCOM 2012 and needs to get a list of all email addresses that are used in Notifications (so he can email them to let them know about the upcoming migration).

Before writing something I did a quick TechNet search and found what I was looking for here.

Here are PowerShell commands that can be used for this in SCOM 2007 and SCOM 2012:

SCOM 2007:

Get-NotificationRecipient | foreach-object {$_.devices | where {$_.protocol -eq "smtp"}} | select name,address

SCOM 2012:

Get-SCOMNotificationSubscriber | foreach-object {$_.devices | where {$_.protocol -eq "smtp"}} | select name,address

Output (if you just want the address list, then just remove “name” from the select list):


  • I often stop on your site I really appreciate it allows me to escape and think of other things .... What happiness ! thank you

    voyance gratuite en ligne - http://www.audelia-voyance.com

  • Very nice post. I just stumbled upon your blog and wanted to say that I have truly enjoyed surfing around your blog posts :) le meilleur broker forex - http://www.forex-pro.fr/broker-forex/

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment