using get-CimInstance to "list" a keyword

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of Jeff Taylor Jeff Taylor 7 months, 4 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34877
    Profile photo of Jeff Taylor
    Jeff Taylor
    Participant

    PS MOL 14.6 (Using Get-CimInstance) there's a caveat about no -list parameter.

    So how do I query CIM for a keyword similar to:

    Get-WmiObject -list *product

    Only thing I can find is:
    Get-CimClass -Namespace root\cimv2

    but I don't want to go through that whole list.

    Is WMI explorer my only option?

    #34878
    Profile photo of Matt Bloomfield
    Matt Bloomfield
    Participant

    Get-WmiObject -List *product
    and
    Get-CimClass -ClassName *product

    Give the same output.

    #34881
    Profile photo of Jeff Taylor
    Jeff Taylor
    Participant

    thank you Matt

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.