I don't think what you are trying to do is possible. The remote system - the PC - would need to be running some sort of software to scan its hardware, and some sort of interface software to enable it to connect to the Raspi. IMO, it cannot be done without changes to the PC end, probably in the BIOS itself.
EDIT. On the other hand, if you can make the plugged in device bootable (like a bootable CD, USB or SD card), then Is suppose it could load a bootable app to the PC which could do the work. BUT, the Pi model B cannot act like that (the A can I believe), and you would need to know quite a bit about making the device appear a) as a mass storage devive, b) bootable c) How to write code to run on the PC to do what you want. Which is out of the scope of the discussion - that will need Googling.
This all falls in a heap if UEFI is enabled.
EDIT 2: And remember, this is currently a theoretical discussion. I doubt anyone in the whole world has ever done this, so you will be venturing in to unknown territory.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."