Gets eventlog data for the machine.
Snap-In: Microsoft.PowerShell.Management
Syntax:
Get-EventLog
[-LogName] <String> [-Newest <Int32>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>]
Get-EventLog
[-List] [-AsString] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>]
Description:
The get-eventlog Cmdlet builds an object out of the event log data and sends it to the pipeline.