Changing owner of an alert after sending an email notification

Hi, I’m searching for a solution to update the owner field of an alert with the subscriber name after sending an email notification? Can this be done with powershell?
Kind regards,
Luc

Hi Luc, sounds like something you should be able to do with the command notification channel in SCOM.
Quick reference:

Hi Badger, yes, but I need the information from the subscriber for my powershell script.

Hey Luc.

but I need the information from the subscriber for my powershell script

Not sure what you mean by that. Can you explain?

Via a subscription I’m sending an email to a subscriber. In the mean time I want to use a command channel to update the owner field of the alert with the subscriber name where I have send the email to.

You can do the whole thing with Powershell, instead of setting up two different channels. Write one script to do it all and call it via the notification channel, might be easier.

Can you, or maybe someone else on this community channel, help me with this script?

Hey. This is an oldie but goldie by Tao. Might help you get started.

Cheers