There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
I try to get the MAC address from a switch .
When I use an standalone MIB-Browser I get the correct MAC "74:44:01:72:E2:37".
Now I do "$getmac=Invoke-SNMPget $line.IP $OID"
And then in the debugger:
[DBG]: PS C:\BackupNetworkDevices\test>> $getmac.Data
Now "tDr?7" translates to 74:44:01:72:3F:37
(same result when I convert $getmac.Data to a byte-array)
Can it be, that the dll has trouble with 8-Bit values (0xE2)? Or am I doing something wrong here?
Thanks for looking into this...