I am trying to figure out how I would be able to obtain the serial number of a machine on the network by using Hyena and an SMS snap-in called explore.msc. The command that I am trying to use at this point is
cmd /x /c net use \\%P1:Machine ID%\ipc$ /user:administrator * & C:\SMSADMIN\bin\i386\explore.msc -s -h \\%P1:Machine ID%
But am unable to gain a connection to the machine with the explore.msc snap-in. Everything else works, just getting a connection failed message with tieing in the machine id and explore.msc.
Any ideas?
cmd /x /c net use \\%P1:Machine ID%\ipc$ /user:administrator * & C:\SMSADMIN\bin\i386\explore.msc -s -h \\%P1:Machine ID%
But am unable to gain a connection to the machine with the explore.msc snap-in. Everything else works, just getting a connection failed message with tieing in the machine id and explore.msc.
Any ideas?
Comment