Preheat your oven to 350°F (175°C). Line a baking sheet with parchment paper.
In a medium bowl, whisk together the flour, baking powder, and salt. Set aside.
In a large mixing bowl, cream the softened butter and sugar together until light and fluffy using an electric mixer (about 3-4 minutes).
Add the eggs one at a time, mixing well after each addition. Stir in the vanilla extract.
Gradually add the dry flour mixture to the wet ingredients, mixing until just combined.
Fold in the chopped pistachios and dried cranberries, ensuring they are evenly distributed throughout the dough.
Divide the dough in half and shape each half into a log about 12 inches long and 2 inches wide on the prepared baking sheet, leaving space between the logs.
Bake in the preheated oven for 25-30 minutes, or until slightly golden.
Remove from the oven and allow the logs to cool slightly (about 10 minutes).
Carefully slice the logs diagonally into 1/2 inch thick slices, placing them cut side down back on the baking sheet.
Return the biscotti to the oven and bake for an additional 10-12 minutes, or until they are crispy and golden.
Let the biscotti cool completely on a wire rack before serving or storing.
Notes
Allow biscotti to cool completely for best texture.