Saturday, April 3, 2021

IPMITool for Windows

Here is a link to Dell's web site to download IPMITool for Windows.

Here is a link to my own copy if that link breaks.

Example Batch files

1. Get Device List

@echo off

cd "C:\Program Files (x86)\Dell\SysMgt\bmc"

ipmitool.exe -I lanplus -H 10.0.0.1 -U sysadmin -P ****** sdr list

2. Get Fan Speed

@echo off

cd "C:\Program Files (x86)\Dell\SysMgt\bmc"

REM get fan speeds, exhaust temp
ipmitool.exe -I lanplus -H 10.0.0.1 -U sysadmin -P ****** sensor reading "Fan1 RPM" "Fan2 RPM" "Fan3 RPM" "Fan4 RPM" "Fan5 RPM" "Fan6 RPM" "Exhaust Temp"

3. Example of: Set Fan Speed to manual, set desired speed (as a percentage), set fan speed back to automatic.  Fans take a few seconds to change speed after setting, be patient.  Fan setting reverts to 'automatic' on reboot.  :(

@echo off

cd "C:\Program Files (x86)\Dell\SysMgt\bmc"

REM Set fan speed control to manual, overriding automatic
ipmitool -I lanplus -H 10.0.0.1 -U sysadmin -P ****** raw 0x30 0x30 0x01 0x00

REM Set fan speed to 40% of max (
0x28 is hexadecimal for 40)

ipmitool -I lanplus -H 10.0.0.1 -U sysadmin -P ****** raw 0x30 0x30 0x02 0xff 0x28

REM Set fan speed to 30% of max (0x1e is hexadecimal for 30)
ipmitool -I lanplus -H
10.0.0.1 -U sysadmin -P ****** raw 0x30 0x30 0x02 0xff 0x1e

REM Set fan speed control to automatic

ipmitool -I lanplus -H 10.0.0.1 -U sysadmin -P ****** raw 0x30 0x30 0x01 0x01


Hello, world!

No comments:

Post a Comment

DiskGenius and Hasleo Backup

DiskGenius is an all-in-one utility for disk partition management, OS migration and file recovery. https://www.diskgenius.com/ Hasleo offers...