< Back

Get-iBMCRAIDControllers

Tue Jan 14, 2020 2:54 am

NAME Get-iBMCRAIDControllers



SYNOPSIS

Query information about the RAID controller resource collection of a server.





SYNTAX

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





DESCRIPTION

Query information about the RAID controller resource collection of a server.

This cmdlet works only after BIOS boot is complete when the RAID controller card supports out-of-band management

or after iBMA 2.0 has been installed and started.





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 RAID controller 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:\\> $RAID = Get-iBMCRAIDControllers -Session $Session

PS C:\\> $RAID



Host : 10.1.1.2

Id : RAIDStorage0

Name : RAID Card1 Controller

Description : RAID Controller

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

SpeedGbps : 12

FirmwareVersion : 5.010.00-0839

SupportedDeviceProtocols : {SAS}

Manufacturer :

Model : SAS3508

SupportedRAIDLevels : {RAID0, RAID1, RAID5, RAID6...}

Mode : Non-RAID

CachePinnedState : False

SASAddress : 5505dac310072000

ConfigurationVersion : 4.1610.00-0149

MemorySizeMiB : 2048

MaintainPDFailHistory : True

CopyBackState : True

SmarterCopyBackState : True

JBODState : False

OOBSupport : True

CapacitanceName :

CapacitanceStatus : @{State=Absent; Health=}

DriverInfo : @{DriverName=; DriverVersion=}

DDRECCCount : 0

MinStripeSizeBytes : 65536

MaxStripeSizeBytes : 1048576

Drives : {HDDPlaneDisk0, HDDPlaneDisk1}











RELATED LINKS

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



Get-iBMCRAIDControllersHealth

Set-iBMCRAIDController

Restore-iBMCRAIDController

Connect-iBMC

Disconnect-iBMC