Preheat the oven to 350°F (175°C) and grease a loaf or cake pan.
Whisk together the flour, baking powder, and salt in a bowl.
Cream the butter and sugar until light and fluffy, then mix in the eggs, vanilla, and sour cream.
Fold in the dry ingredients, followed by the crushed pineapple. Mix until just combined.
Pour the batter into the prepared pan and bake for 45-50 minutes, or until a toothpick inserted in the center comes out clean.
Let the cake cool for 10 minutes before transferring to a wire rack.
Whisk together the powdered sugar and pineapple juice, then drizzle over the cooled cake.
Slice, serve, and enjoy!