< Back

Get-iBMCFans

Tue Jan 14, 2020 2:48 am

NAME Get-iBMCFans



SYNOPSIS

Query information about the fan resource collection of a server.





SYNTAX

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





DESCRIPTION

Query information about the fan 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 fan 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:\\> $FansArray = Get-iBMCFans -Session $session

PS C:\\> $FansArray



Host : 10.1.1.2

MemberId : 0

Name : Fan Module1 Front

Reading : 4920

LowerThresholdNonCritical :

LowerThresholdCritical :

LowerThresholdFatal :

UpperThresholdNonCritical :

UpperThresholdCritical :

UpperThresholdFatal :

MinReadingRange :

MaxReadingRange :

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

ReadingUnits : RPM

PartNumber : 02311VSF

Position : chassis

SpeedRatio : 32



Host : 10.1.1.2

MemberId : 1

Name : Fan Module2 Front

Reading : 4800

LowerThresholdNonCritical :

LowerThresholdCritical :

LowerThresholdFatal :

UpperThresholdNonCritical :

UpperThresholdCritical :

UpperThresholdFatal :

MinReadingRange :

MaxReadingRange :

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

ReadingUnits : RPM

PartNumber : 02311VSF

Position : chassis

SpeedRatio : 32











RELATED LINKS

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



Get-iBMCFansHealth

Connect-iBMC

Disconnect-iBMC