MemoryTools.psm1



#import module variables and aliases
. $PSScriptRoot\functions\public.ps1


#global settings for MemoryTools commands

<#
These are variables that will be used with Get-MemoryUsage
to determine the status. The value is a percentage of free
physical memory available.
 
Any detected value less than $MemoryToolsWarning will be
classified as Critical.
 
You can change these variables at any time during your session.
Or modify the file for permanent changes. You will need to
re-import the module for the changes to take effect.
#>



[ValidateRange(1, 100)][int32]$Global:MemoryToolsOK = 45
[ValidateRange(1, 100)][int32]$Global:MemoryToolsWarning = 15