Show All Local Drives
Query
No standalone KQL detected in this source
View source on GitHubAbout this query
// Use Case: List all local drives on this Windows PC LogicalDrive
Explanation
This query is designed to retrieve and display a list of all local drives on a Windows PC. It uses the LogicalDrive table, which contains information about the logical drives available on the system. Essentially, when you run this query, it will provide you with details about each local drive, such as their names and possibly other attributes, depending on the available data in the LogicalDrive table.