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
- Create a text file and saved as .bat extension
- 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