"Memory levels for Windows" on virtual machines with dynamic memory given by Hypervisor

You looked at the Github Link?
There you find some Powershell scripts for HyperV monitoring and also the checks needed to process the output.