Saturday, July 29, 2023

System information


We can get System information using system info utility 


```sh 

# if want to see OS Name OS version and BIOS Version

❯ systeminfo | Select-String "OS Name","OS Version"

	/*Result*/
		OS Name:                   Microsoft Windows 10 Pro
		OS Version:                10.0.19045 N/A Build 19045
		BIOS Version:              HP Q78 Ver. 01.17.00, 8/4/2021
```


```sh 

# if want to see OS Name OS version

❯ systeminfo | Select-String "OS Name","^OS Version"

	/*Result*/
		OS Name:                   Microsoft Windows 10 Pro
		OS Version:                10.0.19045 N/A Build 19045
```


```sh 
# if want to see OS Name OS ,version and Hyper-V

❯ systeminfo | Select-String "OS Name","^OS Version" ,"Hyper-V Requirements:"

OS Name:                   Microsoft Windows 10 Pro
OS Version:                10.0.19045 N/A Build 19045
Hyper-V Requirements:      A hypervisor has been detected. Features required for Hyper-V will not be displayed.
``` 

No comments:

Post a Comment