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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.