Hi,
You may check the following registry keys are present.
For example, if free space is lower than 10%(0000000a), it triggers Event ID 2013
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters]
"DiskSpaceThreshold"=dword:0000000a
"LowDiskSpaceMinimum"=dword:00000000
Besides the above, you can create a scheduled task to query Event ID 2013 and send out an e-mail notification if necessary.
Besides the Event ID 2013, in the scheduled task, we can use a more accurate and active way to get the free space.
Get-WmiObject -Class Win32_LogicalDisk | ? {$_. DriveType -eq 3} | select DeviceID, @{label='Total Size (GB)';expression={[math]::round($_.Size /1GB,2)}}, @{label='Free Size (GB)';expression= {[math]::round($_.FreeSpace /1GB,2)}}
Regards,
Alex