I need to extract the currently login user from remote system.
This is an intra-net project. All users use win-OS. Its also possible to find the user name from net bios. This is table where all name registered to that particular machine is shown. I would like to extract the current user from that particular one.
explictly i would like to know how to phrase of the out put and extract the required information
This is the output obtained from running the command
Local Area Connection:
Node IpAddress: [192.168.16.30] Scope Id: []
NetBIOS Remote Machine Name Table
Name Type Status
---------------------------------------------
L4_50 <00> UNIQUE Registered
LMS <00> GROUP Registered
L4_50 <20> UNIQUE Registered
L4_50 <03> UNIQUE Registered
L4_50$ <03> UNIQUE Registered
LMS <1E> GROUP Registered
INet~Services <1C> GROUP Registered
IS~L4_50.......<00> UNIQUE Registered
kathirvel <03> UNIQUE Registered
MAC Address = 00-0B-DB-67-6D-14
Would like to extract the name "kathirvel" from table by identifying <03> h-Number. Any help will be apprriciated