It wouldn't be hard to do a foreach with PowerShell and the WMI or CIM cmdlets.
It might take a while to run though.
Maybe something like...
Get-CimClass * | ForEach-Object {Get-WmiObject -Class $_.CimClassName}
Just need to add a where-object for the value you want.
Daniel Ratliff
From: [email protected] [mailto:[email protected]] On
Behalf Of Spinelli, Robert J
Sent: Thursday, August 07, 2014 12:42 PM
To: [email protected]
Subject: [mssms] WMI Search Values ?
Has anyone found anything that searches for values in a WMI class? There seems
to be a bunch of programs like WMI Explorer that will search for classes but
not something that will search a value. It's very possible I'm doing something
wrong and not using it correctly.
For example in Win32_OperatingSystem
Caption = Microsoft Windows 8.1 Enterprise
I would like to be able to search for %8.1 Enterprise% and have the application
show me everywhere that 8.1 Enterprise is found.
[cid:[email protected]]
What I'm trying to figure out is if the WSUS server a client is using is
anywhere in WMI so I can report on it without having to make a
configuration.mof change and pull in the info from the registry.
It would be great to search for %8530% in WMI have the value return and I can
then just add that to my client settings and report on it.
Thank you.
Robert Spinelli | Vice President | Core Services Engineering | GTI Service
Delivery | JPMorgan Chase
575 Washington Boulevard, 18th Floor, Jersey City NJ 07310
T:201-595-6820 | Email:
[email protected]<mailto:[email protected]>
This communication is for informational purposes only. It is not intended as an
offer or solicitation for the purchase or sale of any financial instrument or
as an official confirmation of any transaction. All market prices, data and
other information are not warranted as to completeness or accuracy and are
subject to change without notice. Any comments or statements made herein do not
necessarily reflect those of JPMorgan Chase & Co., its subsidiaries and
affiliates. This transmission may contain information that is proprietary,
privileged, confidential and/or exempt from disclosure under applicable law. If
you are not the intended recipient, you are hereby notified that any
disclosure, copying, distribution, or use of the information contained herein
(including any reliance thereon) is STRICTLY PROHIBITED. Although this
transmission and any attachments are believed to be free of any virus or other
defect that might affect any computer system into which it is received and
opened, it is the responsibility of the recipient to ensure that it is virus
free and no responsibility is accepted by JPMorgan Chase & Co., its
subsidiaries and affiliates, as applicable, for any loss or damage arising in
any way from its use. If you received this transmission in error, please
immediately contact the sender and destroy the material in its entirety,
whether in electronic or hard copy format. Thank you. Please refer to
http://www.jpmorgan.com/pages/disclosures for disclosures relating to European
legal entities.
The information transmitted is intended only for the person or entity to which
it is addressed
and may contain CONFIDENTIAL material. If you receive this
material/information in error,
please contact the sender and delete or destroy the material/information.