How to activate pistons with a command block? [closed]

So I'm working on a hunger game map on pc minevraft windows 10 and I cant build over the water with Redstone so I want to be able to activate and deactivate the pistons manually using a command block but I can't figure out the command if someone can please help me out.


Just /setblock the block in-front/behind/below/left/right (basically any side but "above", or whichever way your Piston is facing) to be a Redstone Block.