Remove-RASNotification
Removes any type of notification.
Remove-RASNotification [-Id] <uint> [<CommonParameters>]
Remove-RASNotification [-InputObject] <Notification> [<CommonParameters>]
A generic command to remove any type of notification.
-Id <uint> Notification ID.
-InputObject <Notification> Input object from pipeline or by parameter.
<CommonParameters>
-none-
---------- EXAMPLE 1 ----------
Remove-RASNotification -Id 1
Removes notification with id 1. ---------- EXAMPLE 2 ----------
Get-RASNotificationEvent -id 2 | Remove-RASNotification
Removes event notification by input object.