Heat oven to 350°F. Beat together butter and sugar in mixing bowl until blended. Add eggs one at a time, beating well after each addition. Stir in sweet potatoes and vanilla. Combine flour, baking powder, baking soda, cinnamon and nutmeg in another bowl.