Hi All,
I'm new to powershell and i need help with retrieving event id 560 with specific date range provided as input. currently im using the following command. but i want it to be able to specify a date range. For example, i want to search between Date A and Date B for events logged under event id 560. Hope someone could help me with this. Thank you.
Get-EventLog -LogName system | Where-Object { $_.eventID -eq 560 } > c:\scripts\objects.csv
Jaya_7