Linux:
(device name of it | logical volume of it as string,(if size of it < (1024*1024*1024) then (size of it/(1024*1024)) as string & "MB" else (size of it/(1024*1024*1024)) as string & "GB"),(if used space of it < (1024*1024*1024) then (used space of it/(1024*1024)) as string & "MB" else (used space of it/(1024*1024*1024)) as string & "GB"),(if free space of it < (1024*1024*1024) then (free space of it/(1024*1024)) as string & "MB" else (free space of it/(1024*1024*1024)) as string & "GB"),used percent of it,mount point of it) of filesystems whose (size of it > 0)
Windows:
((name of it & " - " & (total space of it / 1024 / 1024 /1024) as string & "GB") | (name of it & " - Error"), (free space of it / 1024 / 1024 /1024) as string & "GB") of drives whose (type of it = "DRIVE_FIXED")