I have a small script below and need to know how to truncate the output of message field to show only
New Logon: Account Name
Network Information: Source Network Address
======================================================
$filter=@{
logname='Security'
ID=4624}
get-winevent -FilterHashTable $filter -computername dcname -MaxEvents 1
======================================================
Thanks in advance.
JB