I noticed the ‘ReplaceToast’ parameter on the Show-UDToast cmdlet. Either I misunderstand the function of this parameter or I am not using it right.
Show-UDToast -Id tstSyncDraft -message "Syncing.." -Duration 5000 -ReplaceToast
Do-someting
Show-UDToast -Id tstSyncDraft -message "Sync complete " -Duration 5000 -ReplaceToast
My expectation is that the second toast will replace the first, but it just goes on top of it. What Am I doing wrong?