DosTips.com

A Forum all about DOS Batch
It is currently 20 Nov 2017 14:55

All times are UTC-06:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 31 Jan 2017 13:01 
Offline

Joined: 17 Aug 2015 06:05
Posts: 134
I am trying to get all the system information from Wmic but im not sure of how to get all the information without typing in lots and lots of wmic commands is there a fast way to get all the wmic information?

Thanks ~Batchcc


Top
   
PostPosted: 02 Feb 2017 12:35 
Offline

Joined: 02 May 2016 18:59
Posts: 34
Code: Select all
wmic os>info.txt

Is this not what you're looking for?


Top
   
PostPosted: 03 Feb 2017 16:46 
Offline

Joined: 17 Aug 2015 06:05
Posts: 134
Thanks. Im not sure if this works because I get an error but ill try it on another computer as soon as I can


Top
   
PostPosted: 04 Feb 2017 09:28 
Offline
Expert

Joined: 22 Jan 2010 18:01
Posts: 2986
Location: Germany
Works for me. Maybe you want to change the format though.
Code: Select all
wmic os get /value>info.txt

Besides of that there are hundreds of WMI classes you could query. Not sure if the members of OS (aka Win32_OperatingSystem) are the only values you are looking for.
That's where you may start reading:
https://msdn.microsoft.com/en-us/library/bg126473(v=vs.85).aspx

Steffen


Top
   
PostPosted: 05 Feb 2017 12:51 
Offline

Joined: 17 Aug 2015 06:05
Posts: 134
Thanks aGerman this worked for me!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: Google [Bot] and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited