Re: Pulling the manufacturer from computer
And this will work to find dell in any machine vendor string
for /f "delims=" %%a in ('WMIC csproduct get vendor ^|find /i "dell" ') set "machine=%%a"
If defined machine (
echo it's a Dell "%machine%"
) else (
echo it wasn't a Dell