< Back

Get-iBMCMemory

Tue Jan 14, 2020 2:50 am

NAME Get-iBMCMemory



SYNOPSIS

Query information about the memory resource collection of a server.





SYNTAX

Get-iBMCMemory [-Session] <RedfishSession[]> [<CommonParameters>]





DESCRIPTION

Query information about the memory resource collection of a server.





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 an array of PSObject indicates all memory resources 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:\\> $MemoriesArray = Get-iBMCMemory -Session $session

PS C:\\> $MemoriesArray



Host : 10.1.1.2

Id : mainboardDIMM000

CapacityMiB : 16384

Manufacturer : Samsung

OperatingSpeedMhz : 2133

SerialNumber : 0x177E9BFD

PartNumber :

MemoryDeviceType : DDR4

DataWidthBits : 72

RankCount : 2

DeviceLocator : DIMM000

BaseModuleType : RDIMM

Socket : 0

Controller : 0

Channel : 0

Slot : 0

MinVoltageMillivolt : 1200

Technology : Synchronous| Registered (Buffered)

Position : mainboard

Status : @{Health=OK; State=Enabled}



Host : 10.1.1.2

Id : mainboardDIMM001

CapacityMiB : 16384

Manufacturer : Samsung

OperatingSpeedMhz : 2133

SerialNumber : 0x177E9BFE

PartNumber :

MemoryDeviceType : DDR4

DataWidthBits : 72

RankCount : 2

DeviceLocator : DIMM001

BaseModuleType : RDIMM

Socket : 0

Controller : 0

Channel : 0

Slot : 1

MinVoltageMillivolt : 1200

Technology : Synchronous| Registered (Buffered)

Position : mainboard

Status : @{Health=OK; State=Enabled}











RELATED LINKS

https://github.com/Huawei/Huawei-iBMC-Cmdlets



Get-iBMCMemoryHealth

Connect-iBMC

Disconnect-iBMC