Create a batch file HPDEV.bat having content,
@echo off
for /f %%C in (ServerName.txt) do (
echo %%C>> HPResult.txt
devcon -m:\\%%C findall * | find /i "hp">> HPResult.txt
devcon -m:\\%%C findall * | find /i "Compaq">> HPResult.txt
devcon -m:\\%%C findall * | find /i "NC7">> HPResult.txt
devcon -m:\\%%C findall * | find /i "Smart">> HPResult.txt
devcon -m:\\%%C findall * | find /i "Proliant">> HPResult.txt
devcon -m:\\%%C hwids *floppy*>> HPResult.txt
)
ServerName.txt contains the list of servers.
No comments:
Post a Comment