Based on this question, I need a similair solution for myself (I used Mark Pettibone's answer), however I want to limit it to only specific partitions. I imagine I have to use something different for the source instead of srv, but I have no idea what I need to pick.
Asked
Active
Viewed 482 times
1 Answers
0
You can start off with that process and then run a powershell script to warn you when the particular partition has a freespace below a certain level. Below the code works on Server 2008 RTM (I don't think I have updated the powershell on the box I tested on).
GWMI -namespace root\cimv2 -class win32_volume | Select-Object deviceid, name, freespace
JBaldridge
- 484
- 3
- 9
-
Thanks for helping me instead of needlessly downvoting me. – Jan 21 '18 at 18:51