PowerShell tips – part 003.

Today I will show you new tips and tricks with powershell.

If you want to see more about your operating system information:
Get-CimInstance Win32_OperatingSystem | FL *

Show your Video Driver version:
gwmi win32_VideoController | select DeviceID,Name,DriverVersion | FT *

Take infos about your laptop battery:
gwmi win32_battery
gwmi -Class batterystatus -Namespace root\wmi

You can retrieve performance information about the current Windows PowerShell process:
Get-Process -Id $pid

Resize your command prompt window:
mode 90,30