How to power a dc fan (4wire)
The wires are as follows:


Black - GND
Yellow - +12V
Green - O/C tachometer output
Blue - PWM input


If you just want the fan to spin at maximum speed, connect the black and yellow to your 12V power supply, and leave the other two unconnected.