The Get-OBNotification cmdlet gets the array of OBNotification objects for the server.
The OBNotification object contains the following details regarding the notification. 1) Category of Notification 2) Type of Notification 3) Time of generation of Notification 4) ErrorCodes for Long and short description 5) ErrorMessage parameters.
If a server is unregistered with the mob_name_1 service, the event log is not cleared. This can result in notifications generated by a previous registration being returning in this array if a server is re-registered with mob_name_1.
However, if the mob_agent is uninstalled completely from the server the event logs are deleted.
This example gets notifications for the server.