PC Review


Reply
Thread Tools Rate Thread

WMIC need to scan remote computers and append data into local file

 
 
inachu
Guest
Posts: n/a
 
      8th Dec 2011
I have half the answer:

WMIC /node:"remotepcname" product where "Name like '%adobe reader%'"
get Name, Version


The above works great but I need it to pull pc names from a file and
append the output to 1 file.

How to do that?
 
Reply With Quote
 
 
 
 
UNDYING NightFlame
Guest
Posts: n/a
 
      26th Dec 2011
On 9 дек, 00:41, inachu <(E-Mail Removed)> wrote:
> I have half the answer:
>
> WMIC /node:"remotepcname" product where "Name like '%adobe reader%'"
> get Name, Version
>
> The above works great but I need it to pull pc names from a file and
> append the output to 1 file.
>
> How to do that?


maybe so:
for /f %a in ('type names.txt') do (wmic /node:%a product get
Name, Version | find /i "adobe reader" >> file_to_save.txt)

where names.txt - listfile for computer names, file_to_save.txt - file
to append output.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote WMI using WMIC - RPC Server is Unavailable Colin Bowern Windows XP WMI 3 8th Mar 2010 07:11 AM
How to convert output of bytes into mb/gb's with WMIC? stu_mchugh Windows XP WMI 0 13th Dec 2006 09:07 PM
Search for file on remote computer with WMIC Matt Williamson Windows XP WMI 0 10th Nov 2006 11:09 PM
How to use WMIC.EXE for remote registry access =?Utf-8?B?SGFucw==?= Windows XP General 2 16th May 2006 02:20 PM
How to use WMIC.EXE for remote registry access =?Utf-8?B?SGFucw==?= Windows XP Basics 2 12th May 2006 11:22 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:47 AM.