Monday, March 2, 2015

Command Line / Batch Script For Finding System Informations

For Username :-  whoami
For System Name :- hostname
For Computer Manufacturer :- systeminfo | findstr /c:"System Manufacturer"
For Computer Model :- systeminfo | findstr /c:"System Model"
       Make Batch File using With the above command
  1. Create a text file and saved as .bat extension
  2. Updated the text with the following command
whoami
hostname
systeminfo | findstr /c:"System Manufacturer"
systeminfo | findstr /c:"System Model"
pause

No comments:

Post a Comment

bloggerwidgets