I need a solution
There must be a better way than this to get a list that has media type, robot control host and robot number.
nbemmcmd -listmedia -allrecords |\
awk ' /^Media Type:/ { printf"\n%s ",$3 }
/^Robot Control Host:/ { printf"%s ",$4 }
/^Robot Number:/ { printf"%s",$3 }
' | sort -u -k 3
There should be a simple command to get all the defined robot info from any media server?