Of course, there is a simple command :-)
wmic /node:"servername" datafile where name='c:\\Program Files (x86)\\Symantec\\Symantec Endpoint Protection\\smc.exe' get version
you can ommit / node check on the local machine. And if you push "get version", you get all the values and column names. Of course, there are standard wmic options available as / output: filename, / append: filename or / format: csv, and you can use @ list.txt instead of the server name to perform a list of machines check.
source
share