< Back

Get-iBMCSystemInfo

Tue Jan 14, 2020 2:59 am

NAME Get-iBMCSystemInfo



SYNOPSIS

Get system resource details of the server.





SYNTAX

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





DESCRIPTION

Get system resource details of the 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

String

Returns iBMC Asset Tag 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:\\> $System = Get-iBMCSystemInfo $session

PS C:\\> $System



Host : 10.1.1.2

Id : 1

Name : Computer System

AssetTag : my test

Manufacturer : Huawei

Model : 2288H V5

SerialNumber : 2102311TYBN0J3000293

UUID : 877AA970-58F9-8432-E811-80345C184638

HostName :

PartNumber : 02311TYB

HostingRole : {ApplicationServer}

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

PowerState : Off

Boot : @{BootSourceOverrideTarget=Pxe; BootSourceOverrideEnabled=Continuous;

BootSourceOverrideMode=Legacy; BootSourceOverride

Target@Redfish.AllowableValues=System.Object[]}

TrustedModules :

BiosVersion : 0.81

ProcessorSummary : @{Count=2; Model=Central Processor; Status=}

MemorySummary : @{TotalSystemMemoryGiB=128; Status=}

PCIeDevices : {}

PCIeFunctions : {}

Oem : @{Huawei=}



PS C:\\> $System.Boot | fl



BootSourceOverrideTarget : Pxe

BootSourceOverrideEnabled : Continuous

BootSourceOverrideMode : Legacy

BootSourceOverrideTarget@Redfish.AllowableValues : {None, Pxe, Floppy, Cd...}











RELATED LINKS

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



Connect-iBMC

Disconnect-iBMC