PowerShell : WMI

Windows Management Instrumentation (WMI) is the implementation of Web-Based Enterprise Management (WBEM). WMI allows PowerShell to manage Microsoft Windows personal computers and servers, both locally and remotely.

WMI lets you start and stop services, monitor system drives, view or change user or user group permissions, change file or folder properties, monitor the event log and perform other administrative tasks and is essential for anyone who is keen to automate routine work via PowerShell.

Windows PowerShell implements Windows Management Instrumentation (WMI) functionality through a set of cmdlets. You can use these cmdlets to complete the end-to-end tasks that are necessary to manage local and remote computers.

Get instances of WMI classes or information about the available classes.

PS C: > Get-WmiObject -List

To displays information about all the processes that are running on a computer.

PS C: > Get-WmiObject -Class Win32_Process

To displays information about the services on the remote computer.

PS C: > Get-WmiObject -Class Win32_Process -computername

To displays BIOS information

PS C: > Get-WmiObject -Class Win32_BIOS | Format-List *


Like above commands, you can see information for all available classes.