Checking in with the community to see if I'm crazy. We have a pool of 1000 Windows servers. If any of the server's C drive is more than 90% full, an automated response would be triggered and kick off a disk cleanup PowerShell script that would clear generic "safe" locations. If after this action is run and if the condition still exists we would then send an alert for support staff intervention. This and other types of actions corrected by PowerShell scripts , ie, restart a service, kill a process are the goal in providing automated responses. All scripts would be on a central server share available to all servers via the network, not on each individual server.
I think this is a common use case. Can anyone in the community confirm they are doing this and let me know if it works? Any caveats?
Many thanks in advance!