Weigh or measure the flour, Dutch-process cocoa powder, baking powder, and kosher salt into a medium bowl. Whisk until the cocoa powder is evenly distributed throughout the flour mixture. Set aside.
Weigh or measure the sugar into a separate bowl and set aside.
Using a stand or hand-held mixer, beat the cream cheese and butter on medium speed for 2-3 minutes until smooth and lighter in color.
Add the sugar and beat on medium speed for another 2-3 minutes until light and fluffy. Scrape down the sides and bottom of the bowl.
Add one egg and the vanilla extract, mixing until combined. Add the second egg and mix until the batter is smooth.
Turn the mixer to low speed and add the flour and cocoa mixture a third at a time. Mix just until incorporated, then scrape the sides and bottom of the bowl to make sure no dry ingredients remain.
Cover the mixing bowl loosely and refrigerate the cookie dough for 30 minutes.
Preheat the oven to 350°F (175°C or 180°C) and line two cookie sheet pans with parchment paper.
Using a medium cookie scoop, place 12 mounds of dough onto a prepared cookie sheet pan. A rounded tablespoon will also work, but I find a cookie scoop much easier to use.
Bake for 10-12 minutes. Let the cookies rest on the baking sheet for 2-3 minutes after removing them from the oven. They will still be soft, but this resting time helps the outside firm up.
Transfer the cookies to a cooling rack and let them cool completely. Once cooled, lightly dust the tops with powdered sugar. This is optional, but it adds a little sweetness and makes the cookies look pretty.