Update Start-NotifTask.ps1
parent
74856cdecc
commit
59bb6055aa
|
@ -15,7 +15,7 @@ function Start-NotifTask {
|
||||||
[Switch]$UserRun = $false
|
[Switch]$UserRun = $false
|
||||||
)
|
)
|
||||||
|
|
||||||
if (($WAUConfig.WAU_NotificationLevel -eq "Full") -or ($WAUConfig.WAU_NotificationLevel -eq "SuccessOnly" -and $MessageType -eq "Success") -or (!$IsSystem)) {
|
if (($WAUConfig.WAU_NotificationLevel -eq "Full") -or ($WAUConfig.WAU_NotificationLevel -eq "SuccessOnly" -and $MessageType -eq "Success") -or ($UserRun)) {
|
||||||
|
|
||||||
# XML Toast template creation
|
# XML Toast template creation
|
||||||
[xml]$ToastTemplate = New-Object system.Xml.XmlDocument
|
[xml]$ToastTemplate = New-Object system.Xml.XmlDocument
|
||||||
|
|
Loading…
Reference in New Issue