Fixed variable naming

Fixed variable naming for $ComputerInformations, which correctly should be named $ComputerInformation
This commit is contained in:
LordHepipud 2019-05-02 16:37:56 +02:00
parent 4e995390a4
commit 392f0b2a61

View file

@ -23,8 +23,8 @@ function ClassMemory
);
# Lets load some additional memory informations, besides current performance counters
$ComputerInformations = Get-CimInstance Win32_ComputerSystem;
$counter.Add('\Memory\Physical Memory Total Bytes', @{ 'value' = $ComputerInformations.TotalPhysicalMemory; 'sample' = @{ }; });
$ComputerInformation = Get-CimInstance Win32_ComputerSystem;
$counter.Add('\Memory\Physical Memory Total Bytes', @{ 'value' = $ComputerInformation.TotalPhysicalMemory; 'sample' = @{ }; });
return $counter;
}