You need a co2 extinguisher for class b liquid fires and electrical fires.
But they are not post fire friendly so fires could reignite. So caution would be needed.
The powder extinguisher is ideal for class 1 2 and 3 fires (better for gas fires). But not ideal for electrical and can cause permanent damage to your equipment plus make a mess.
Water would be a no no
C02 would be my choice