O'Reilly logo

Windows PowerShell™ Scripting Guide by Ed Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required