Preheat oven to 350°F (175°C). Grease and flour a 9x13 inch baking sheet.
In a large bowl, cream together the butter and sugar until light and fluffy. Beat in the eggs one at a time, then stir in the vanilla.
In a separate bowl, whisk together the flour, baking powder, and salt. Gradually add to the wet ingredients, mixing until just combined.
Spread the dough evenly into the prepared baking sheet.
Bake for 18-20 minutes, or until a toothpick inserted into the center comes out with a few moist crumbs attached.
Let cool completely before frosting.
For the frosting, beat together the softened butter, powdered sugar, milk, and vanilla extract until smooth and creamy. Spread over the cooled bars and decorate with sprinkles, if desired.
Cut into squares and serve.
Notes
Feel free to experiment with different frosting flavors and sprinkles to customize these cookie bars.