create same profile in hotspot for PPPoE

I have several profiles in hotspot and I want a script to create the same profiles for pppoE