Test-UnityEmailAlert

SYNOPSIS

Test email alert notification by sending a test alert to all configured email destinations.

SYNTAX

Test-UnityEmailAlert [-session <Object>] [[-ID] <String[]>]

DESCRIPTION

Test email alert notification by sending a test alert to all configured email destinations. You need to have an active session with the array.

EXAMPLES

-------------------------- EXEMPLE 1 --------------------------

Test-UnityEmailAlert

Test email alert notification by sending a test alert to all configured email destinations.

PARAMETERS

-session

Specify an UnitySession Object.

Type: Object
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true})
Accept pipeline input: False
Accept wildcard characters: False

-ID

ID or Object of a Alert Config..

Type: String[]
Parameter Sets: (All)
Aliases: 

Required: False
Position: 1
Default value: 0
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

INPUTS

OUTPUTS

NOTES

Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE

https://github.com/equelin/Unity-Powershell