The Windows PowerShell is a free and very useful new task-based command line shell and scripting language for system administration which provides automation for Windows – desktops and servers.
Windows PowerShell makes administrators more productive.
Get Bios Information:
1 | Get-WmiObject -class Win32_BIOS |
Get CPU Information:
1 | Get-WmiObject -class Win32_Processor |
Get mainboard Information:
1 | Get-WmiObject -class Win32_Baseboard |
Get OS Version:
1 | Get-WmiObject -class Win32_OperatingSystem |
Get running processes:
1 | Get-Process | Where-Object {$_.StartTime -lt (Get-Date).AddMinutes(-1)} | Format-Table ID, Name, StartTime |