Chapter 15. Computers and Hardware

This chapter covers computer settings (for example, operating system versions, BIOS settings, boot configuration, environment variables), installed hardware, the management of print jobs, Windows event logs, and performance counters. Examples in the chapter include:

  • Read computer settings

  • Enumerate hardware devices and their properties

  • Enumerate the available event logs

  • Read event log entries

  • Read data from performance counters

  • Enumerate printers

  • Administration of print jobs (pause, resume, cancel)

Computer Settings

There is no special commandlet for the displaying of information about the computer. You can get important information about ...

Get Essential PowerShell 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.