Outdoor Smart plug controlled by outdoor motion detector

Allow your outdoor motion detector to turn on outdoor smart plug. This would create all sorts of outdoor lighting/displaycontrol possibilities, but I specifically want to have my front pathway lights only turn on when motion is detected at either end of the pathway.