RunningLow – PowerShell script to check for disk space and send e-mail | VPS Tutorial
RunningLow is a simple yet effective PowerShell script to know when one of your servers is running low on disk space.
Whoever works with physical and/or virtualized Windows Servers is well aware of the importance of keeping this constantly under control: as soon as a server runs out of disk space it will be unable to fulfill a number of tasks, such as: creating temporary files, store data on a database, performing system maintenance/backup/updates, create or update web sessions – assuming they are handled through I/O – and so on. Things can be even worse for those servers that host DBMS services such as MySQL and MS-SQL, as the sudden I/O unavailability could cause non-trivial damages to indexes, filesystem-based tables, and data integrity.
The main purpose of RunningLow is to prevent all that: it will check one or more local and/or network drives to see if their available free space went under a certain quota, and send a customizable alert to one or more e-mail addresses if that’s the case. I know, there are a lot of admin suites and maintenance software that could be easily configured to do the same thing: even Piriform’s CCleaner PRO does that! However, if you don’t have the money, the time, or the amount of system resources required to install these apps, you might find out that this lightweight alternative could be worth a shot.
https://green.cloud/docs/runni....nglow-powershell-scr
#windowsserver #runninglow #powershell #powershellscripting
______________
► GET VPS: https://greencloudvps.com/vpsforyou
► Website: https://greencloudvps.com/
► Facebook: https://www.facebook.com/greencloudvps
► Twitter: https://www.twitter.com/greencloudvps