I'm currently working on a project that is designed to fetch CPU & GPU Temperatures, System Memory Usage, and GPU & CPU Usage. I've got everything I need to fetch CPU information; it's the GPU side of things that I'm having trouble with. To get all this information I'm using a Python script to run PowerShell commands based on the type of GPU. For Nvidia Cards, I'm using Nvidia-smi commands. It's AMD Cards I'm having trouble getting information through PowerShell. I'm looking for a single-line command that I can run to get the GPU Temperature and a similar command to get GPU Power Usage (in watts).
Here is the link to the project on GitHub: aaron-is-the-best2114/PC-Vital-Box (github.com)