vbscript - getting remote drivernodes using "devcon drivernodes" -
i trying below information related drivers.
name, inffile, vendor, version, description, , date.
all information find using below command.
"devcon drivernodes"
but working in local machine. (checked msdn , came know cannot remote machine details command.
do have other utility / way mentioned details remote computer?
i capturing details using vbscript (using .exec method , stdout.readline method)
thanks in advance
does
wmic /node:computerlist.txt sysdriver /format:list
computerlist.txt list of ip addresses or computernames.
for local computer
wmic sysdriver /format:list
see wmic /?
(for partial list of what's available), wmic sysdriver /?
, , wmic /format /?
.
edit
to file versions, if file has one. note backslashes have doubled.
filever.bat filename
set filepath=%~f1 set file=%filepath:\=\\% wmic datafile name^="%file%" version|findstr /i /v /c:"version"
to start program (it invisible on remote computers)
wmic process call create c:\\windows\\notepad.exe
Comments
Post a Comment