Hello,
I have 59 Resource Groups and need to change the email notification settings on all of them (specifically the EmailTo field). I am looking in PowerShell and found the commands Set-SmProtectResource and Set-SmResourceGroup, but neither command (from what I can tell) lets you edit the EmailTo field, which is the one I need to change on all 59 groups. Obviously I'm changing the global setting too, but (if I understand correctly) that only affects the next resource groups I create.
Am I missing something in these two commands that would allow me to do what I need to do? Would love any tips or suggestions! Thank you.