I have below powershell script for windows events to query, trying to write this script to get the Compueter name, Event ID, Source and description info to excel.
Looking for help to finish this script. This script to run on list of computers also.
}
Looking for help to finish this script. This script to run on list of computers also.
Code:
$servers = get-content “c:\list.txt”
foreach ($server in $servers)
{
$server
Get-EventLog -LogName APPLICATION |Source "ACECLIENT" AND Where-Object { $_.EventID -eq 1001 } # I am not sure how to include here description "looking for 'File not found: C:\Program Files\Microsoft ISA Server\SDCONFIG.'"
}