title: powershell script creates Windows 10 notification and it disappears after popup
body: <p>the following powershell script successfully creates a notification but after the little popup retracts it doesn't show on the Notification Center, any way to leave it in the notification center until the user dismisses it ?</p>
  
  <pre><code>param([String]$prodName)    
  [Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] &gt; $null
  [Windows.UI.Notifications.ToastNotification, Windows.UI.Notifications, ContentType = WindowsRuntime] &gt; $null
  [Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime] &gt; $null
  
  $ToastTemplate = '
  &lt;toast launch="app-defined-string"&gt;
      &lt;visual&gt;
          &lt;binding template="ToastGeneric"&gt;
              &lt;text&gt;'+$prodName+'&lt;/text&gt;
          &lt;/binding&gt;
      &lt;/visual&gt;
  &lt;/toast&gt;'
  
  Write-Output $ToastTemplate;
  
  $currTime = (Get-Date).AddSeconds(10);
  "currTime : " + $currTime
  
  $xml = New-Object Windows.Data.Xml.Dom.XmlDocument
  $xml.LoadXml($toastXml.OuterXml)
  
  $schedNotification = New-Object Windows.UI.Notifications.ToastNotification($xml)
  $schedNotification.SuppressPopup = $True
  $notifier = [Windows.UI.Notifications.ToastNotificationManager]::CreateToastNotifier($prodName)
  $notifier.Show($schedNotification)
  
  $schedNotification = New-Object Windows.UI.Notifications.ScheduledToastNotification($xml, $currTime)
  $notifier.AddToSchedule($schedNotification)
  </code></pre>