How can I summon Lighting in a certain spot?

For a little things I'm doing I need to make charged creepers. However, finding one in the wild is almost impossible and I need to have people see the creepers change into charged creepers, therefore using /summon to summon a charged creeper won't work. Is there a command to summon lightning?


You can do /summon LightningBolt which will hit the place that your standing.

Or the better way is to do:

/execute @e[type=Creeper,r=20] ~ ~ ~ /summon LightningBolt

Which will spawn lightning directly on all creepers within a 20 block radius.