Example
The default notification profile for queues is set to send you messages when the queue-backlogged, object-cleaned, and object-deleted events occur. You need to change the notification profile for the print queue printer1-q so that you receive messages when the queue-no-longer-backlogged and queue-state-changed events occur as well. Your backup person does not currently receive any messages about queues, but needs to receive all of the same messages you do.
Issue this command to change your notification profile. Remember to list the event-identifiers for all of the events that you want this user to receive notifications about. This list of event-identifiers replaces the existing list entirely.
pdset -c queue -x “notification-profile+={event-identifiers=object-cleaned object-deleted queue-backlogged queue-no-longer-backlogged queue-state-changed delivery-address=”administrator@mydesk.office.com“}” printer1-q
Then, issue this command to have the same queue messages sent to your backup person.
pdset -c queue -x “notification-profile+={event-identifiers=object-cleaned object-deleted queue-backlogged queue-no-longer-backlogged queue-state-changed delivery-address=”backup@hisdesk.office.com“}” printer1-q
Use the Viewing an existing notification profile procedure to make sure the changes took effect.