< Back
Get-iBMCMemoryHealth
Post
NAME Get-iBMCMemoryHealth
SYNOPSIS
Query health information about the memory of a server.
SYNTAX
Get-iBMCMemoryHealth [-Session] <RedfishSession[]> [<CommonParameters>]
DESCRIPTION
Query health information about the memory of a server including summary health status and every memory health
status.
PARAMETERS
-Session <RedfishSession[]>
iBMC redfish session object which is created by Connect-iBMC cmdlet.
A session object identifies an iBMC server to which this cmdlet will be executed.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
PSObject[]
Returns PSObject indicates memory health status of server if cmdlet executes successfully.
In case of an error or warning, exception will be returned.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$credential = Get-Credential
PS C:\\> $session = Connect-iBMC -Address 10.1.1.2 -Credential $credential -TrustCert
PS C:\\> $health = Get-iBMCMemoryHealth -Session $session
PS C:\\> $health | fl
Host : 10.1.1.2
Summary : @{HealthRollup=OK}
ID#mainboardDIMM000 : @{Health=OK; State=Enabled; DeviceLocator=DIMM000}
ID#mainboardDIMM010 : @{Health=OK; State=Enabled; DeviceLocator=DIMM010}
ID#mainboardDIMM030 : @{Health=OK; State=Enabled; DeviceLocator=DIMM030}
ID#mainboardDIMM040 : @{Health=OK; State=Enabled; DeviceLocator=DIMM040}
ID#mainboardDIMM100 : @{Health=OK; State=Enabled; DeviceLocator=DIMM100}
ID#mainboardDIMM110 : @{Health=OK; State=Enabled; DeviceLocator=DIMM110}
ID#mainboardDIMM130 : @{Health=OK; State=Enabled; DeviceLocator=DIMM130}
ID#mainboardDIMM140 : @{Health=OK; State=Enabled; DeviceLocator=DIMM140}
RELATED LINKS
https://github.com/Huawei/Huawei-iBMC-Cmdlets
Get-iBMCMemory
Connect-iBMC
Disconnect-iBMC
SYNOPSIS
Query health information about the memory of a server.
SYNTAX
Get-iBMCMemoryHealth [-Session] <RedfishSession[]> [<CommonParameters>]
DESCRIPTION
Query health information about the memory of a server including summary health status and every memory health
status.
PARAMETERS
-Session <RedfishSession[]>
iBMC redfish session object which is created by Connect-iBMC cmdlet.
A session object identifies an iBMC server to which this cmdlet will be executed.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
PSObject[]
Returns PSObject indicates memory health status of server if cmdlet executes successfully.
In case of an error or warning, exception will be returned.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$credential = Get-Credential
PS C:\\> $session = Connect-iBMC -Address 10.1.1.2 -Credential $credential -TrustCert
PS C:\\> $health = Get-iBMCMemoryHealth -Session $session
PS C:\\> $health | fl
Host : 10.1.1.2
Summary : @{HealthRollup=OK}
ID#mainboardDIMM000 : @{Health=OK; State=Enabled; DeviceLocator=DIMM000}
ID#mainboardDIMM010 : @{Health=OK; State=Enabled; DeviceLocator=DIMM010}
ID#mainboardDIMM030 : @{Health=OK; State=Enabled; DeviceLocator=DIMM030}
ID#mainboardDIMM040 : @{Health=OK; State=Enabled; DeviceLocator=DIMM040}
ID#mainboardDIMM100 : @{Health=OK; State=Enabled; DeviceLocator=DIMM100}
ID#mainboardDIMM110 : @{Health=OK; State=Enabled; DeviceLocator=DIMM110}
ID#mainboardDIMM130 : @{Health=OK; State=Enabled; DeviceLocator=DIMM130}
ID#mainboardDIMM140 : @{Health=OK; State=Enabled; DeviceLocator=DIMM140}
RELATED LINKS
https://github.com/Huawei/Huawei-iBMC-Cmdlets
Get-iBMCMemory
Connect-iBMC
Disconnect-iBMC