Managing Windows Server 2008 Server Core

There are many things you can do with WMI to manage your Windows Server 2008 Server Core server. For example, you can report on disk space utilization by using the Get-WmiObject cmdlet. In the most basic form, the command looks like this:

Get-wmiobject -class win32_volume -computername core

If you want to find out information about the CPU on the server, you can use a command such as this one:

Get-wmiobject -class wi32_processor -computername core

And if you are interested in what processes are running on the server, use a command such as this:

Get-wmiobject -class win32_process -computername core

Note

More Info For more information on using Windows Management Instrumentation to manage Windows Servers, see my ...

Get Windows PowerShell™ Scripting Guide 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.