network port number

I have a number of PC's that I need to map to a network port number for an inventory. Due to the design of our desks physically verifying what the sticker next to the port says is proving difficult, I wondered if theres any command prompt you could run that may detail the network port number you are connected to (whether its even recorded)? If so can you provide details. All are windows 7 machines.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Are you trying to ascertain the physical port on a given switch that a given computer is connected?

 - Tom

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
pma111Author Commented:
Yes please tom (not a network admin just doing an inventory)
LANSweeper will perform an inventory for units that are turned on. It may miss some that have WMI blocked or other issues, but will at least report such units.

It also has a mapping function, as I recall.  However, I do not recall if it provides switch port numbers.

For a basic inventory, the switch ports should not be needed.

 - Tom
I don't understand how/why http:#a39457678 was chosen as the solution for this question.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.