07 Hosts Overcommit State ====================================================================
added $VMMem = 0, $VMMem needed to exist for the [ if ($VMMem) { Clear-Variable VMMem } ] statement to work.  When that failed every reference to $VMMem failed.

9:25:48 AM ..start calculating Hosts Overcommit state by Alan Renouf v1.3 [26 of 113]
The variable '$VMMem' cannot be retrieved because it has not been set.
At D:\repos\vCheckVirTechDev\vCheck-vSphere\Plugins\30 Host\07 Hosts Overcommit State.ps1:15 char:6
+     if ($VMMem) { Clear-Variable VMMem }
+         ~~~~~~
    + CategoryInfo          : InvalidOperation: (VMMem:String) [], RuntimeException
    + FullyQualifiedErrorId : VariableIsUndefined

And several more errors like that.