Preheat the oven to 350°F and line a baking sheet with parchment paper.
Add the butter and white and brown sugar to the bowl of your stand mixer and cream them together.
Add the vanilla extract and pumpkin purée and mix in.
Add the flour to a mixing bowl along with the baking powder, baking soda, cinnamon, nutmeg and salt and mix together.
Then add all the dry ingredients in with the wet and mix in by hand (don't use the electric mixer for this part) into a thick cookie dough.
Use a cookie scoop to scoop even amounts of the cookie dough onto the parchment lined tray. Aim for 20 cookies.
Flatten them with a fork.
Place them into the oven and bake for 12 minutes. If they're still a bit puffy when they come out of the oven then use a fork to gently flatten them a little more as soon as they come out of the oven.
Leave them on the tray to cool completely. When the cookies are completely cool, they're ready to frost.
Add the butter and cream cheese to the bowl of your stand mixer and beat them together until very creamy and smooth (about 3 minutes).
Then add in the powdered sugar and vanilla extract and beat in until smooth and fluffy (about 2 minutes).
Spread the frosting on the cookies and top with a sprinkle of cinnamon.