I have had to do this a lot. Usually I will cut a radiator hose and put it around the piston of the strut when it is fully extended, then just vise grip it so it stays extended. DO NOT vise grip the piston without something rubber against the piston. Scratching it will ruin the seal. Just be careful and take your time.
AW, Coral, HID's, Afe Scoops and CAI, PBX, 264M's, 225/255 Ventus V12's, (BMW Performance: BBK, Illuminated Door Sills, Shifter Knob and Boot, E-Brake Handle, Steering Wheel, Front Strut Bar), E93 FSB, E92 RSB, M3 Rear Subframe Bushings, M3 Front Control Arms, HPA coilover kit (Koni Adjustables and Swift Springs), Steel Brake Hoses, Black Kidneys, Smoked LED side markers, LED angel eyes, Blacklines, Carbon fiber spoiler, Ambergones...