Custom Inventory Rule - checking file version in 2 paths
I am having an issue trying to confirm the file version when it could be in one of two paths. I am trying to find the confirm the Lync.exe file and it could be in either the PF or PFx86 folder. In the rule below either works by itself, but when I put in the OR statement it fails when checking either the PF or PFx86 folder paths.
FileVersionEquals(C:\Program Files (x86)\Microsoft Office\Office15\lync.exe, 15.0.4711.1002) or
FileVersionEquals(C:\Program Files\Microsoft Office\Office15\lync.exe, 15.0.4711.1002)
Is there a special bracketing or anything I need to do?
0 Comments
[ + ] Show comments
Answers (2)
Answer Summary:
Please log in to answer
Posted by:
jknox
9 years ago
Top Answer
The OR should be capitalized and both arguments should be on the same line. Don't press Enter/Return. Past that, it should work.
To troubleshoot, you can see what the custom inventory rule returns most of the time by running "kdeploy -custominventory" in the c:\program files (x86)\dell\kace directory.
To troubleshoot, you can see what the custom inventory rule returns most of the time by running "kdeploy -custominventory" in the c:\program files (x86)\dell\kace directory.
Posted by:
JordanNolan
9 years ago