power toggles help

So I was wondering, you know outlet extensions cords? Well I was wondering if there is a way to have the Arduino turn on and off the outlet extension cords? thank you!

Like this?
https://www.youtube.com/watch?v=mTbb-COQc1w