mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-23 08:10:16 -05:00
Fixed variable naming
Fixed variable naming for $ComputerInformations, which correctly should be named $ComputerInformation
This commit is contained in:
parent
4e995390a4
commit
392f0b2a61
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue