Chapter 15. Logs, jobs, and performance

 

This chapter covers
  • Discovering event log sources
  • Backing up event logs
  • Managing simple scheduled jobs
  • Investigating performance counters, system assessment reports, and stability indices

 

Things go wrong even in the best-run IT operations. When they do, you need to be able to investigate and troubleshoot the problem. One of the first places to look is the event logs. These logs record information (events) from a number of sources across the system. WMI can be used to access and manage the logs, but in many cases the PowerShell event log cmdlets are easier to use. We’ll look at how you can use PowerShell and WMI to discover some information that the cmdlets don’t return and how to back up the ...

Get PowerShell and WMI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.