Is there a way to determine which slot a card is in via the PnPID?

Is there a way to determine which slot a card is in via the PnPID? If not, how would one approach it?
Jericho JonesAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

Dr. KlahnPrincipal Software EngineerCommented:
No, but a PCI device enumerator can give you that information ... sort of.

I say "sort of" because there are many devices attached to the PCI bus that are built into the motherboard but are still legitimate PCI devices.  And every one has a "slot number".

Assuming that the target system is Windows ...

You might try either PCI-Z or PCI32.  I use PCI32 and it's worked well for me, though there is no guarantee it works on 64-bit systems. PCI32 is no longer actively maintained.  PCI-Z is actively maintained and the web site states that it works on both 32-bit and 64-bit systems.

PCI32 enumeration

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
Dr. KlahnPrincipal Software EngineerCommented:
Question answered within the limits of the available software.  Points assigned to sole contributor.
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.