Get-OBNotification

Get-OBNotification

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

Syntax

Get-OBNotification [ <CommonParameters>]

Detailed 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 online 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 the .

However, if the is uninstalled completely from the server the event logs are deleted.

Parameters

<CommonParameters>

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Microsoft.Internal.CloudBackup.Commands.OBNotification[]

Examples

EXAMPLE 1

This example gets notifications for the server.

PS C:\> Get-OBNotfication