Your D drive is secondary data drive and presumably has no OS on it.  There is no attribute to make it a specific XPS drive.  It can be easily moved to another new pc as a secondary sata drive, as long the current and new pc bios are both set up as AHCI in sata operation mode.  No need to buy new XPS 8950 if you do not need intel 12th gen cpu tech.  You could get a used refurbished XPS 8930 as an option which is eligible for Win 11, or try to install Win 11 on your current pre-8930 XPS as suggested by Chino even though it is not officially eligible.  Do not buy a non XPS Dell just for 11, plus the cheaper Inspiron Dell desktop is a low tier line not great at all.
My computer will not accept Windows 11. So says PC Health Check. So I will need to buy a new one. My computer has a second drive that holds 2T. The XPS series is on the pricey side, even on sale. I will need to buy a less expensive series with Windows 11 installed. My question is, can I buy a different series of computer and install my old D drive with success? BluZebra68
Can I put XPS drive in non XPS computer