Custom Search

SUBSCRIBE

SUBSCRIBE : 300 + Free Video Tutorials Programming (Python, golang, Julia), DevOps

Friday, November 20, 2015

ipmitool find Serial Number of all servers in a network

1)
for ip in $(nmap -sP 192.204.122.64/27 | grep "Nmap scan report for" | awk '{print $5}')
do
echo "IP: "$ip
echo "SNO: "$(ipmitool -I lanplus -H  $ip -U username -P password fru | grep "Product Serial")
echo "--------"
done

2)

1 comment:

  1. BlueHost is ultimately the best hosting provider with plans for any hosting needs.

    ReplyDelete