If you are trying to find the internal serial number for a device that is already plugged in (common for SSDs or USB drives), you can use these methods: