Get-OBNotification

Gets array of OBNotification objects which are applicable for the server.

Syntax

Get-OBNotification

Description

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 Microsoft Azure Backup 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 Microsoft Azure Backup.

However, if the Microsoft Azure Backup agent is uninstalled completely from the server the event logs are deleted.

To use Microsoft Azure Backup cmdlets, the user needs to be an administrator on the protected machine.

Examples

EXAMPLE 1

Get-OBNotification

This example gets notifications for the server.

Inputs

None

Outputs

Microsoft.Internal.CloudBackup.Commands.OBNotification[]