I have seen similar questions in “Legacy” posts, but this doesn’t seem to have been addressed - or at least I cant find out how to do it. It doesn’t seem to be covered in Machine Policies.
The Problem: I have a machine that has multiple drives, and some of them are small and not involved in auto deployment, however the Health Check checks the space on every drive on a Machine and reports it as being low on space. This means every single run of the Health Check appears to have warnings - I never get a clean one.
What I’d like to be able to do is provide a hint within a Machine settings to ‘ignore’ the “D” drive or similar. That way I can prevent these unnecessary reports. There could be other more complex solutions…but this is the simplest one I think that would solve my issue.
My initial thought on this would be to amend the script being used by the machine policy to exclude the non-essential drives.
For example, you could amend the initial try statement to target a specific drive letter, or exclude others.
e.g. this will only check the C: drive