Preheat oven to 350°F (175°C). Line a baking sheet with parchment paper.
In a mixing bowl, combine flour, sugar, baking powder, and salt.
In another bowl, beat the eggs and vanilla extract. Gradually add to the dry ingredients, mixing until combined.
Fold in the cranberries and pistachios.
Divide the dough in half and shape each half into a log about 12 inches long. Place the logs on the prepared baking sheet.
Bake for 25-30 minutes, or until the logs are golden brown. Remove from the oven and let cool for 10 minutes.
Reduce the oven temperature to 325°F (165°C). Using a serrated knife, cut the logs into ½-inch slices. Place the slices cut side down on the baking sheet.
Bake for an additional 10-15 minutes, or until the biscotti are crisp. Cool completely on a wire rack.