Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PowerShell :: Get-EventLog (example usage)
- =============================================
- **
- This function produces a list of recent MS EventLog Messages, for example: the "newest 50".
- **
- `ft` is some kind of pager-like program that organizes data, given column names.
- **
- Example command line:
- ---------------------
- ""
- C:\Users\mnichols> Get-EventLog System -EntryType Error -Newest 50 |ft TimeGenerated, Message -auto
- ""
- Example output:
- ---------------
- ""
- TimeGenerated Message
- ------------- -------
- 12/22/2015 11:36:15 AM Installation Failure: Windows failed to install the following update with error 0x80070002: W...
- 12/21/2015 1:46:31 PM Installation Failure: Windows failed to install the following update with error 0x80070002: M...
- 12/21/2015 1:42:16 PM The description for Event ID '10016' in Source 'DCOM' cannot be found. The local computer ma...
- 12/19/2015 3:32:35 AM The TeamViewer service failed to start due to the following error: ...
- 12/19/2015 3:32:35 AM A timeout was reached (30000 milliseconds) while waiting for the TeamViewer service to connect.
- 12/19/2015 3:32:09 AM The SNMP Service encountered an error while accessing the registry key SYSTEM\CurrentControlS...
- 12/19/2015 3:32:01 AM The NetTcpActivator service depends on the NetTcpPortSharing service which failed to start be...
- 12/19/2015 3:30:01 AM The description for Event ID '10010' in Source 'DCOM' cannot be found. The local computer ma...
- 12/19/2015 3:30:01 AM The description for Event ID '10010' in Source 'DCOM' cannot be found. The local computer ma...
- 12/19/2015 3:30:01 AM The description for Event ID '10010' in Source 'DCOM' cannot be found. The local computer ma...
- 12/19/2015 3:30:00 AM The User Data Access_1079f6 service terminated unexpectedly. It has done this 1 time(s). Th...
- 12/19/2015 3:30:00 AM The User Data Storage_1079f6 service terminated unexpectedly. It has done this 1 time(s). T...
- 12/19/2015 3:30:00 AM The Contact Data_1079f6 service terminated unexpectedly. It has done this 1 time(s). The fo...
- 12/19/2015 3:30:00 AM The Sync Host_1079f6 service terminated unexpectedly. It has done this 1 time(s). The follo...
- 12/18/2015 9:11:23 AM Installation Failure: Windows failed to install the following update with error 0x80070002: W...
- 12/18/2015 12:52:08 AM The description for Event ID '10010' in Source 'DCOM' cannot be found. The local computer ma...
- 12/18/2015 12:52:07 AM The description for Event ID '10010' in Source 'DCOM' cannot be found. The local computer ma...
- 12/17/2015 12:19:17 PM Installation Failure: Windows failed to install the following update with error 0x80070002: M...
- 12/16/2015 2:24:53 PM Installation Failure: Windows failed to install the following update with error 0x80070002: M...
- 12/11/2015 8:46:52 AM The SNMP Service encountered an error while accessing the registry key SYSTEM\CurrentControlS...
- 12/9/2015 10:49:42 PM Installation Failure: Windows failed to install the following update with error 0x80070002: O...
- 12/9/2015 10:47:57 PM Installation Failure: Windows failed to install the following update with error 0x80070002: M...
- 12/9/2015 12:00:51 AM The processing of Group Policy failed. Windows attempted to read the file \\GNSLLC.local\sysv...
- 12/8/2015 10:08:48 PM The processing of Group Policy failed. Windows attempted to read the file \\GNSLLC.local\sysv...
- 12/7/2015 6:08:44 PM The processing of Group Policy failed. Windows attempted to read the file \\GNSLLC.local\sysv...
- 12/7/2015 4:16:48 PM The processing of Group Policy failed. Windows attempted to read the file \\GNSLLC.local\sysv...
- 12/7/2015 2:24:49 PM The processing of Group Policy failed. Windows attempted to read the file \\GNSLLC.local\sysv...
- 12/7/2015 12:32:48 PM The processing of Group Policy failed. Windows attempted to read the file \\GNSLLC.local\sysv...
- 12/6/2015 4:00:49 PM The processing of Group Policy failed. Windows attempted to read the file \\GNSLLC.local\sysv...
- 12/6/2015 2:08:49 PM The processing of Group Policy failed. Windows attempted to read the file \\GNSLLC.local\sysv...
- 12/6/2015 12:16:51 PM The processing of Group Policy failed. Windows attempted to read the file \\GNSLLC.local\sysv...
- 12/6/2015 10:24:51 AM The processing of Group Policy failed. Windows attempted to read the file \\GNSLLC.local\sysv...
- 12/5/2015 8:16:51 AM The processing of Group Policy failed. Windows attempted to read the file \\GNSLLC.local\sysv...
- 12/5/2015 6:24:46 AM The processing of Group Policy failed. Windows attempted to read the file \\GNSLLC.local\sysv...
- 12/5/2015 4:32:50 AM The processing of Group Policy failed. Windows attempted to read the file \\GNSLLC.local\sysv...
- 12/4/2015 12:32:42 AM The processing of Group Policy failed. Windows attempted to read the file \\GNSLLC.local\sysv...
- 12/3/2015 10:40:43 PM The processing of Group Policy failed. Windows attempted to read the file \\GNSLLC.local\sysv...
- 12/3/2015 8:48:43 PM The processing of Group Policy failed. Windows attempted to read the file \\GNSLLC.local\sysv...
- 12/3/2015 6:56:42 PM The processing of Group Policy failed. Windows attempted to read the file \\GNSLLC.local\sysv...
- 12/3/2015 5:04:42 PM The processing of Group Policy failed. Windows attempted to read the file \\GNSLLC.local\sysv...
- 12/3/2015 3:12:36 PM The processing of Group Policy failed. Windows attempted to read the file \\GNSLLC.local\sysv...
- 12/3/2015 3:11:15 PM The NetTcpActivator service depends on the NetTcpPortSharing service which failed to start be...
- 12/3/2015 3:09:29 PM The description for Event ID '10010' in Source 'DCOM' cannot be found. The local computer ma...
- 12/3/2015 3:09:28 PM The description for Event ID '10016' in Source 'DCOM' cannot be found. The local computer ma...
- 12/3/2015 3:09:28 PM The User Data Access_243e8dc service terminated unexpectedly. It has done this 1 time(s). T...
- 12/3/2015 3:09:28 PM The User Data Storage_243e8dc service terminated unexpectedly. It has done this 1 time(s). ...
- 12/3/2015 3:09:28 PM The Contact Data_243e8dc service terminated unexpectedly. It has done this 1 time(s). The f...
- 12/3/2015 3:09:28 PM The Sync Host_243e8dc service terminated unexpectedly. It has done this 1 time(s). The foll...
- 12/3/2015 3:09:27 PM The User Data Access_1ddcacb service terminated unexpectedly. It has done this 1 time(s). T...
- 12/3/2015 3:09:27 PM The User Data Storage_1ddcacb service terminated unexpectedly. It has done this 1 time(s). ...
- ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement