Changes for page IPMI
Last modified by Sebastian Marsching on 2022/12/23 00:18
From version 2.1
edited by Sebastian Marsching
on 2022/12/23 00:17
on 2022/12/23 00:17
Change comment:
There is no comment for this version
To version 1.1
edited by Sebastian Marsching
on 2022/12/23 00:16
on 2022/12/23 00:16
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -34,15 +34,15 @@ 34 34 [Int16]$iLanChannel=0 35 35 [bool]$bFoundLAN=$false 36 36 for(;$iLanChannel -le $MaxChannel;$iLanChannel++){ 37 - $RequestData=@($iLanChannel)38 - $oMethodParameter.RequestData=$RequestData39 - $oMethodParameter.RequestDataSize=$RequestData.length40 - $oRet=$oIPMI.PSBase.InvokeMethod("RequestResponse",$oMethodParameter,(New-Object System.Management.InvokeMethodOptions))41 - #$oRet42 - if($oRet.ResponseData[2] -eq $8023LANMediumType){43 - $bFoundLAN=$true44 - break;45 - }37 + $RequestData=@($iLanChannel) 38 + $oMethodParameter.RequestData=$RequestData 39 + $oMethodParameter.RequestDataSize=$RequestData.length 40 + $oRet=$oIPMI.PSBase.InvokeMethod("RequestResponse",$oMethodParameter,(New-Object System.Management.InvokeMethodOptions)) 41 + #$oRet 42 + if($oRet.ResponseData[2] -eq $8023LANMediumType){ 43 + $bFoundLAN=$true 44 + break; 45 + } 46 46 } 47 47 # If the LAN channel was found, get the network parameters 48 48 $oMethodParameter.Command=$GetLANInfoCmd