Nov 26, 2013

How to find notifications that belong to some user

Run this:


Get-NotificationSubscription | foreach {
 $ns = $_.DisplayName
 $_.ToRecipients | foreach {
  If ($_.Name -match "Anders Nil") {
   Write-Host $ns
  }
 }
}

No comments:

Post a Comment