Create Collection based on File Version
I'm trying to create a collection based upon a particular file version. So far I've been able to build a collection if the computer has that particular file using these values:Criterion Tyoe: Simple valueWhere: software Files -sftware NameOperator: is equal toValue: something.exeJust not file name AND file vesion.I've tried adding an "and" statement for the file version but my collection comes up empty.Am I writing the query wrong? or is there another attribute I should be querying?Thanks.
October 28th, 2009 3:28pm
Are you getting the file version from the info coming in from Software Inventory or by right clicking on the file and looking at the version there?Sometimes they can be different. For instance you have 4.5.0.1270 but it could be 4.5.0.1270.0 or something like that.http://www.sccm-tools.com
http://sms-hints-tricks.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
October 29th, 2009 3:09am
Bingo, the inventoried version(what SCCM has in it's database) was 4.5.0.1270 for some reason. To be sure I modified the registry key that removed the 2000 results limit from the values list onthe criterion properties page so I can see all results and make sure 4.5.0.1270 was in the there. I double checked what was in the database and the value was there. I know next time to make sure to check the values that SCCM has instead of the actual file properties(right click properties on file). Learned something new. Thanks for your help.
October 29th, 2009 3:13pm


