Groups
Sign in
Groups
microsoft.public.windowsxp.wmi
Conversations
About
Send feedback
Help
info
Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Learn more
WMIC need to scan remote computers and append data into local file
67 views
Skip to first unread message
inachu
unread,
Dec 8, 2011, 3:41:12 PM
12/8/11
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
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?
UNDYING NightFlame
unread,
Dec 26, 2011, 7:43:21 AM
12/26/11
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
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.
0 new messages