Some very simple and basic windows command line routing commands.
If you are working as a user without administrative permissions, you must execute CMD as Administrator
Some very simple and basic windows command line routing commands.
If you are working as a user without administrative permissions, you must execute CMD as Administrator
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-WmiObject -class Win32_BIOS
Get CPU Information:
1 | Get-WmiObject -class Win32_Processor |
Get-WmiObject -class Win32_Processor
Get mainboard Information:
1 | Get-WmiObject -class Win32_Baseboard |
Get-WmiObject -class Win32_Baseboard
Get OS Version:
1 | Get-WmiObject -class Win32_OperatingSystem |
Get-WmiObject -class Win32_OperatingSystem
Get running processes:
1 | Get-Process | Where-Object {$_.StartTime -lt (Get-Date).AddMinutes(-1)} | Format-Table ID, Name, StartTime |
Get-Process | Where-Object {$_.StartTime -lt (Get-Date).AddMinutes(-1)} | Format-Table ID, Name, StartTime