Fan control for a power supply

Is it possible to use a PWM output to control the fan speed for a fan I have mounted on the power supply and control the speed in the GUI somewhere?

Here's a how-to in Youtube.