Page 1 of 1

Get all Wmic information quickly

Posted: 31 Jan 2017 13:01
by batchcc
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

Re: Get all Wmic information quickly

Posted: 02 Feb 2017 12:35
by SirJosh3917

Code: Select all

wmic os>info.txt

Is this not what you're looking for?

Re: Get all Wmic information quickly

Posted: 03 Feb 2017 16:46
by batchcc
Thanks. Im not sure if this works because I get an error but ill try it on another computer as soon as I can

Re: Get all Wmic information quickly

Posted: 04 Feb 2017 09:28
by aGerman
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

Re: Get all Wmic information quickly

Posted: 05 Feb 2017 12:51
by batchcc
Thanks aGerman this worked for me!