Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

NEW CMPivot search for files

  • Thread starter Thread starter dmanrez
  • Start date Start date
  • Replies Replies 2
  • Views Views 7K

dmanrez

Member
Messages
13
Reaction score
3
Points
3
Hi

In the the url below, it shows you have to find missing files in a collection with CMPivot. I would like to change it to look for the file 7z.exe but don't know what I should changed?


Device
| join kind=leftouter (File('C:\Program Files\7-Zip\7z.exe'))
| where isnull(FileName)
| project Device

 
The script above would look for files that were not there. I was hoping to do the opposite and find files that are there.
I got it working with only running the one line

Device
| join kind=leftouter (File('C:\Program Files\7-Zip\7z.exe'))
 

Forum statistics

Threads
7,043
Messages
27,534
Members
17,727
Latest member
czorn

Trending content

Back
Top