What are Cmd and Powershell for Windows?
Windows has two command-line shells: the Command shell and PowerShell. Each shell is a software program that provides direct communication between you and the operating system or application, providing an environment to automate IT operations.
Get Processor and System Information
Get-WmiObject -Class Win32_Processor -ComputerName. | Select-Object -Property [a-z]*
Get-WmiObject -Class Win32_ComputerSystem -ComputerName. | Select-Object -Property SystemType