Created
March 11, 2015 03:04
-
-
Save maciakl/64747ed4984085c4c0ac to your computer and use it in GitHub Desktop.
Windows batch script to find vendor tag / serial number (eg. Dell Service Tag), vendor name, model name and installed OS on the current machine. All the info is dumped into info.txt file on the Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
rem This script will attempt to find this systems Dell Service Tag | |
rem The tag will be recorded in info.txt on the desktop | |
mode 15,1 | |
title [~] | |
set FILE="%USERPROFILE%\Desktop\info.txt" | |
wmic bios get serialnumber >%FILE% | |
wmic csproduct get vendor >>%FILE% | |
wmic csproduct get name >>%FILE% | |
wmic os get caption >>%FILE% | |
start notepad %FILE% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment