Query Details

Search Recently Created Files At A Location

Query

// Use Case: Search recently created files at a location
FileInfo('C:\Windows\*')
| order by CreatedDateTime desc

Explanation

This query is designed to search for files located in the C:\Windows\ directory on a computer. It retrieves information about these files and sorts them in descending order based on their creation date and time. In simple terms, it lists the most recently created files in the C:\Windows\ folder, showing the newest files at the top of the list.

Details

Ugur Koc profile picture

Ugur Koc

Released: December 13, 2024

Tables

FileInfo

Keywords

FileInfoCreatedDateTime

Operators

FileInfoorder bydesc

Actions

GitHub