Preheat oven to 375 degrees F. In a large bowl, beat butter with an electric mixer on medium to high speed for 30 seconds. Add sugar, baking powder, and salt; beat until combined, scraping side of bowl occasionally. Beat in eggs and vanilla until combined. Beat in as much of the flour as you can with the mixer. Using a wooden spoon, stir in any remaining flour.