Although my car is a manual the pulley has three M6 or M8 drilled and tapped holes in it. I screwed in two bolts and used a long bar against the bolts and the floor to hold the pulley while I undid it.
I also did the same thing when it came to putting the new crank bolt in.
Thanks