Skip to content

Send-ToastNotification

SYNOPSIS

Short description

SYNTAX

Send-ToastNotification [-Message] <String> [[-Sender] <String>] [[-ComputerName] <String[]>] [-Title <String>]
 [-AudioSource <String>] [-ShortDuration] [-RequireDismiss] [-Notifier <String>] [<CommonParameters>]

DESCRIPTION

Long description

EXAMPLES

EXAMPLE 1

Send-ToastNotification

Example of how to use this cmdlet

EXAMPLE 2

Send-ToastNotification -PARAMETER

Another example of how to use this cmdlet but with a parameter or switch.

PARAMETERS

-AudioSource

{{ Fill AudioSource Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: Ms-winsoundevent:Notification.Looping.Alarm3
Accept pipeline input: False
Accept wildcard characters: False

-ComputerName

Specifies the name of one or more computers.

Type: String[]
Parameter Sets: (All)
Aliases: Host, Name, Computer, CN

Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Message

Enter the message to send.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Notifier

{{ Fill Notifier Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-RequireDismiss

overrides ShortDuration

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Sender

Enter the name of the sender.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ShortDuration

{{ Fill ShortDuration Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Title

{{ Fill Title Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

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

OUTPUTS

NOTES

Author: Skyler Hart Created: 2020-11-08 14:57:29 Last Edit: 2021-07-16 23:08:42 Requires: -Module ActiveDirectory -PSSnapin Microsoft.Exchange.Management.PowerShell.Admin -RunAsAdministrator

https://wanderingstag.github.io