Surround the like phrase in double quotes and your search criteria in single quotes, and use % as the wildcard symbol. Here is how you use wildcards in your search: >/node:ANOTHEREXAMPLE product where vendor="Apple Inc." get name,vendorĪ small hint if you have special characters like '-' or '/' in the computer name you need to use ' ' characters in order to get information from client) Here's an example scanning a networked machine for all installed applications from the vendor "Apple, Inc" If you would like to filter for a specific product, you may do so. This command asks WMI to reply with a list including the Name, Version, and Vendor of all compliant software installations. >/node:COMPUTERNAME product get name,version,vendor So let's find out if a particular node even has our target software (Spiceworks does attempt to list this information in its software scan) Though formatting the replies is beyond the scope of this "How To", much more information can be found on the internet. With our WMIC prompt, we can ask many questions of a node (or nodes) and receive some nicely formatted replies.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |