Accessing Power and Performance Data I-3INLET AIR TEMPERATURERun the following IPMI commands to access the SDR (Sensor Data Record) and obtain an inlet airtemperature data.Get SDR Repository InfoReserve SDR RepositoryGet SDRGet Sensor ReadingShown below is an example of the file created by Visual Basic Script (e.g. Sensor.vbs).'Start ScriptOption Explicit' Prepare for MS IPMI DriverDim osvc, oclassDim oinstance, oipmiset osvc = getobject("winmgmts:root\wmi")set oclass = osvc.get("microsoft_ipmi")for each oinstance in osvc.instancesof("microsoft_ipmi")set oipmi = oinstancenext' (Get SDR Repository Info)Dim oinparamsset oinparams = oclass.methods_("requestresponse").inparameters' (Get SDR Repository Info)oinparams.networkfunction = &haoinparams.lun = 0oinparams.responderaddress = &h20oinparams.command = &h20oinparams.requestdatasize = 0' Fire IPMI CommandDim outparamsDim i, RecordCountset outparams = oipmi.execmethod_("requestresponse",oinparams)RecordCount = outparams.ResponseData(3)*256 + outparams.ResponseData(2)' (Reserve SDR Repository)oinparams.networkfunction = &haoinparams.lun = 0oinparams.responderaddress = &h20oinparams.command = &h22oinparams.requestdatasize = 0Dim Reserve_LS, Reserve_MSset outparams = oipmi.execmethod_("requestresponse",oinparams)Reserve_LS = outparams.ResponseData(1)Reserve_MS = outparams.ResponseData(2)