< Back

Remove-BTNotification

Sun Jan 12, 2020 7:47 pm

NAME Remove-BTNotification



SYNOPSIS

Removes toast notifications from the Action Center.





SYNTAX

Remove-BTNotification [[-AppId] <String>] [[-Tag] <String>] [[-Group] <String>] [<CommonParameters>]





DESCRIPTION

The Remove-BTNotification function removes toast notifications from the Action Center.



If no parameters are specified, all toasts (for the default AppId) will be removed.



Tags and Groups for Toasts can be found using the Get-BTHistory function.





PARAMETERS

-AppId <String>

Specifies the AppId of the 'application' or process that spawned the toast notification.



Required? false

Position? 1

Default value $Script:Config.AppId

Accept pipeline input? false

Accept wildcard characters? false



-Tag <String>

Specifies the tag, which identifies a given toast notification.



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Group <String>

Specifies the group, which helps to identify a given toast notification.



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

LOTS





OUTPUTS

NONE





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Remove-BTNotification













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Remove-BTNotification -Tag 'UniqueIdentifier'















RELATED LINKS

https://github.com/Windos/BurntToast/bl ... ication.md