Get all Wmic information quickly

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
batchcc
Posts: 139
Joined: 17 Aug 2015 06:05
Contact:

Get all Wmic information quickly

#1 Post by batchcc » 31 Jan 2017 13:01

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

SirJosh3917
Posts: 36
Joined: 02 May 2016 18:59

Re: Get all Wmic information quickly

#2 Post by SirJosh3917 » 02 Feb 2017 12:35

Code: Select all

wmic os>info.txt

Is this not what you're looking for?

batchcc
Posts: 139
Joined: 17 Aug 2015 06:05
Contact:

Re: Get all Wmic information quickly

#3 Post by batchcc » 03 Feb 2017 16:46

Thanks. Im not sure if this works because I get an error but ill try it on another computer as soon as I can

aGerman
Expert
Posts: 4654
Joined: 22 Jan 2010 18:01
Location: Germany

Re: Get all Wmic information quickly

#4 Post by aGerman » 04 Feb 2017 09:28

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

batchcc
Posts: 139
Joined: 17 Aug 2015 06:05
Contact:

Re: Get all Wmic information quickly

#5 Post by batchcc » 05 Feb 2017 12:51

Thanks aGerman this worked for me!

Post Reply