The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,512 other followers

Archive for December 25th, 2018

eventviewer – View Shutdown Event Tracker logs under Windows Server 2008 R2 – Server Fault

Posted by jpluimers on 2018/12/25

Works on translated systems:

PowerShell
Get-EventLog System | Where-Object {$_.EventID -eq "1074" -or $_.EventID -eq "6008" -or $_.EventID -eq "1076"} | ft Machinename, TimeWritten, UserName, EventID, Message -AutoSize -Wrap

Or on one line:

Get-EventLog System ^| Where-Object {$_.EventID -eq "1074" -or $_.EventID -eq "6008" -or $_.EventID -eq "1076"} ^| ft Machinename, TimeWritten, UserName, EventID, Message -AutoSize -Wrap

I’ve adapted the custom view to include all these event IDs above:

  • 12: The operating system started at system time ‎<iso8601utc>.
  • 13: The operating system is shutting down at system time  <iso8601utc>.
  • 109: The kernel power manager has initiated a shutdown transition.
  • 1074: [WayBack] The process <process> has initiated the restart of <computer name> for the following reason: No title for this reason could be found.
    Minor Reason: <reason>
    Shutdown Type: <type>
  • 1076: [WayBack] The reason supplied by user <user name> for the last unexpected shutdown of this computer is: <error description>
    Reason Code: <error code>
    Bug ID: <bug id>
    Bugcheck String: <string>
    Comment: <comment>
  • 6008: [WayBack] The previous system shutdown at <time> on <date> was unexpected.

Steps for the custom view:

Open Event Viewer then

  • Right click Custom Views
  • Click Create Custom View
  • Under the Filter tab
    • Keep Logged as Any time
    • Select all the Event level types (Critical, Warning, etc.)
    • Choose by source = Windows Logs > System
    • For Event ID under the Includes/Excludes Event IDs section enter 12,13,1074,1076,6008 for the Event ID
  • Click Ok
  • Enter a name like Shutdown Events and any description then
  • Click Ok again to complete the custom event log.

Your new custom view should show up in the list of custom views with the correct filter applied.

Source: [WayBackeventviewer – View Shutdown Event Tracker logs under Windows Server 2008 R2 – Server Fault

–jeroen

Posted in CommandLine, Development, Power User, PowerShell, PowerShell, Scripting, Software Development, Windows | Leave a Comment »

50 Shades of Grain

Posted by jpluimers on 2018/12/25

Have a good holiday season!

[WayBack50 Shades of Grain – Lars Fosdal – Google+: Adult cereals.

Original from [WayBackShopping Can Be Quite Entertaining 20 pics

–jeroen

Read the rest of this entry »

Posted in Fun | Leave a Comment »

Time to let go of prejudices: We are all much more the same than we are different.

Posted by jpluimers on 2018/12/25

All of humanity is more alike than different. This holds for generations as well:

the findings suggest meaningful differences among generations do not exist!

Let this be a thought in these days at the end of december: enjoy that we all are so much alike, and help each other succeed.

Source: [WayBackGenerations At Work: Persistent Myths Vs. Actual Science | Corporate Rebels.

In an article for Forbes Magazine, we busted the persistent myth that different generations have different needs and desires at work. Back then we were talking about popular-press articles claiming that, for…

Via: [WayBack] Time to let go of prejudices: Generations At Work: Persistent Myths Vs. Actual Science | Corporate Rebels – Marjan Venema – Google+

–jeroen

Posted in About, History, Personal | 2 Comments »

 
%d bloggers like this: