PowerShell Genie

Windows event log triage: a guided PowerShell project

Lab 12 min read Multi-step project · fictional data throughout

Documentation: Microsoft Learn

Milestone 1 — Inspect the event stream

Not checked yet

Identify Id, ProviderName, LevelDisplayName and Message.

Milestone 1 workspace

Sample environment
Step through, copy or reset
OutputReady when you are
Run the example to inspect its sample result.

Fictional data. Nothing runs on your device or tenant.

Follow the objects

Each stage shows the objects after one command. Choose Step from start repeatedly to move through the stages, or Run to see the final result.

    Run or step through the command to follow its objects.

    Milestone 2 — Focus on errors

    Not checked yet

    Keep events whose level is Error.

    Milestone 2 workspace

    Sample environment
    Step through, copy or reset
    OutputReady when you are
    Run the example to inspect its sample result.

    Fictional data. Nothing runs on your device or tenant.

    Follow the objects

    Each stage shows the objects after one command. Choose Step from start repeatedly to move through the stages, or Run to see the final result.

      Run or step through the command to follow its objects.

      Milestone 3 — Order by ID

      Not checked yet

      Sort event IDs; read provider and message for context.

      Milestone 3 workspace

      Sample environment
      Step through, copy or reset
      OutputReady when you are
      Run the example to inspect its sample result.

      Fictional data. Nothing runs on your device or tenant.

      Follow the objects

      Each stage shows the objects after one command. Choose Step from start repeatedly to move through the stages, or Run to see the final result.

        Run or step through the command to follow its objects.

        Milestone 4 — Shape the handoff

        Not checked yet

        Select Id, ProviderName and LevelDisplayName.

        Milestone 4 workspace

        Sample environment
        Step through, copy or reset
        OutputReady when you are
        Run the example to inspect its sample result.

        Fictional data. Nothing runs on your device or tenant.

        Follow the objects

        Each stage shows the objects after one command. Choose Step from start repeatedly to move through the stages, or Run to see the final result.

          Run or step through the command to follow its objects.

          Milestone 5 — Deliver the error list

          Not checked yet

          Return error IDs, providers and messages.

          Milestone 5 workspace

          Sample environment
          Step through, copy or reset
          OutputReady when you are
          Run the example to inspect its sample result.

          Fictional data. Nothing runs on your device or tenant.

          Follow the objects

          Each stage shows the objects after one command. Choose Step from start repeatedly to move through the stages, or Run to see the final result.

            Run or step through the command to follow its objects.

            Defend it

            Explain what the report establishes and what you would verify before acting on a real system.

            Compare with a model defense

            The summary identifies sample errors but does not establish root cause. Correlate timestamps, affected machines and nearby events before proposing a fix.

            Review the related lesson

            Incident evidence handover

            Deliver a usable report

            Record the computer, log, time window, provider, event ID and message. The small browser fixture has no real incident chronology.

            Test the failure path

            The time window or log is wrong, or there is no access to the remote log. Distinguish a successful empty query from a query that failed.

            Verify before handing over

            Check an event in Event Viewer and correlate its timestamp with the reported symptom. An error event is evidence to investigate, not proof of the cause.

            Complete each checked milestone above. Completion records show practice against fictional data; they do not certify a production script.

            Apply this project to the next admin task

            Practise the next scenario

            Filter error events

            Return complete System-log event records with LevelDisplayName Error.

            Review the lesson

            Genie guideWindows event log triage: a guided PowerShell project

            Identify Id, ProviderName, LevelDisplayName and Message.