@matoro4826, welcome back to the forum.
Here is a link to the PSU on Newegg.com:
https://www.newegg.com/Product/Product.aspx?Item=N82E16817438016
In the Specifications tab you will find the measurements of the PSU. You can measure the existing PSU and compare the measurements to the new one. I believe that it should fit.
Please click the Thumbs up + button if I have helped you and click Accept as Solution if your problem is solved.

I am not an HP Employee!!Intelligence is God given. Wisdom is the sum of our mistakes!!