May I suggest to your techs, to look in the powershell detection script structure, and add hash-type parameter and function to deal with file attribute detection (to match what ConfigMgr offers) much like you have a registry hash-parameter and function?