CHAPTER 8
Performing Basic Server Management
IN THIS CHAPTER
Discovering how your server is configured
Working with the task scheduler
Checking for hotfixes
Examining event logs
Managing system time
In this chapter, you read about performing basic server management with Windows PowerShell. This will be done by using a combination of built-in cmdlets and the Get-WmiObject cmdlet, which returns information from Windows Management Instrumentation (WMI) classes inherent to the operating system.
Discovering Server Configuration
You can discover your server configuration with the built-in Windows Management Instrumentation (WMI) interface. WMI is installed by default on all server operating systems from Windows Server 2000 and newer. Although WMI has been preinstalled since Windows Server 2000, Microsoft adds new classes and extends current classes with every operating system release. An example of this is the MfrAssignedRevisionLevel property of the Win32_CDROMDrive class, which is not available in Windows Server 2003 or earlier.
Note
For a complete reference to the WMI classes, see http://msdn.microsoft.com/en-us/library/aa394554(v=VS.85).aspx.
By now, you've seen multiple examples of using the Get-WmiObject cmdlet to gather data from various classes remotely and against the local computer. Rather than rehashing how to use the Get-WmiObject cmdlet, you learn how to discover which ...
Get Windows PowerShell® 2.0 Bible 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.