- Computer Name
- Disk Description
- Drive Letter
- Volume Name
- File System
- Total Size
- Free Space
SELECT distinct SYS.Name, LDSK.Description0 AS [Description], LDSK.DeviceID0 AS [Drive], LDSK.VolumeName0 AS [Volume Name], LDSK.FileSystem0 AS [Filesystem], LDSK.Size0 AS [Total Size], LDSK.FreeSpace0 AS [Free Space] FROM v_FullCollectionMembership_Valid SYS JOIN v_GS_LOGICAL_DISK LDSK on SYS.ResourceID = LDSK.ResourceID WHERE LDSK.DriveType0 = 3 AND ((LDSK.FreeSpace0 <= ((LDSK.Size0 * 10)/100)) or (LDSK.FreeSpace0 <= 1024)) and sys.CollectionID = ‘SMS00001’
More Queries
Our full range of SQL and WQL Collection queries are available here.Feedback
If you have any questions or feedback about this post, or if you would like us to create any queries for you, please go ahead and leave us a message below in the comments section and we will get back to you as quick as we can.Gear We Recommend
Protecting your data? Here’s the storage and backup gear we trust.
Browse our Storage & Backup picks on AmazonAs an Amazon Associate, TechyGeeksHome earns from qualifying purchases.
Discover more from TechyGeeksHome
Subscribe to get the latest posts sent to your email.