Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - DSN information

Reply
 
Old 07-17-2008   #1 (permalink)
cyhexchange


 
 

DSN information

I'm trying to write a powershell script that searches the messagetracking log
on each transport server and if the eventid is DSN, I want to display the
sender and recipient but only if it has a recipientstatus of 5.x.x.
I can get the sender and recipient but I cannot add the IF the
recipientstatus is a permanent failure. In fact, I cannot display the
recipientstatus values to see if my "like" statement is correct.
When I use the cmdlet Get-MessageTrackingLog the recipientstatus displays
data. Can anyone help me?
Thanks




My System SpecsSystem Spec
Old 07-17-2008   #2 (permalink)
Flowering Weeds


 
 

Re: DSN information


"Karl Mitschke"
Quote:

>
> I waited and waited for Flowering Weeds,
> but he isn't around
>
Oh I'm always around but I need
to give the younger ones (with all
the newer toys) some time to reply
too!

I can say use the (local or remote)
Windows data parser, IIS's Log Parser,
but only those with the newer toys can
show some real "new" usage! Good job!
Quote:

> Look at Log Parser for this - you can
> save a bunch of time.
>
Yep, and don't foget one can get each
Log Parser's parsed returned field of data
(while Log Parser get's it within PowerShell)
and then do anything with this data and then
get the next parsed field's data and use it too
(including charting it)!

Have some fun people
automate those tools / objects
(like Log Parser, ChartSpace)
when ever one can!


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
System Information - "Can't Collect Information" Vista General
Where is information Vista mail
Thanks for the information Live Mail
information Vista mail
Only for information Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46