I create a Command Notification channel in SCOM 2012 R2 like this and when I use my script to echo the parameter $data/recipients/to/address/address$ out to a text file, I see 'address' not the phone number.
You can configured the channel with a command channel or the address for the other types.
Is there such a thing as $data/recipients/to/address/name$ or $data/recipients/to/address/displayname$ to get to the other columns in the device table from which the subscriber addresses are listed.
There are three columns, Name, Channel Type, and Delivery Address. All I can apparently return is the Delivery Address which defaults to a value. Even with a valid phone number in the Name field, I cannot seem to access it.
Daren Daigle