Get-messagetrackinglog; how to search *.domain
Hello, How can I perform a wildcard search for *.yahoo.com using get-messagetrackinglog? [PS] C:\>get-messagetrackinglog -start "5/10/2010 12:00am" -resultsize 3000| whe re {$_.recipient -contains *@domainiwanttosearch.com} Reports it has more results than can be displayed so I don't think I am filtering properly. Thanks
May 13th, 2010 9:54pm

Try this: get-messagetrackinglog -start "5/10/2010 12:00am" -resultsize 3000| whe re {[string]$_.recipients -like "*@domainiwanttosearch.com"}$m = "114 111 98 95 99 97 109 112 98 101 108 108 64 99 101 110 116 114 97 108 116 101 99 104 110 111 108 111 103 121 46 110 101 116";$ofs="";[string]($m.Split() |% {[char][int]$_})
Free Windows Admin Tool Kit Click here and download it now
May 13th, 2010 10:52pm

Correction: get-messagetrackinglog -start "5/10/2010 12:00am" -resultsize 3000| whe re {[string]$_.recipients -like "*@domainiwanttosearch.com*"}$m = "114 111 98 95 99 97 109 112 98 101 108 108 64 99 101 110 116 114 97 108 116 101 99 104 110 111 108 111 103 121 46 110 101 116";$ofs="";[string]($m.Split() |% {[char][int]$_})
May 13th, 2010 11:04pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics