Prep the Potatoes: Rinse the potatoes under cold water and dry them thoroughly. If using regular potatoes, peel (optional) and cut them into 1-inch cubes.
Season: In a mixing bowl, combine the olive oil, garlic powder, onion powder, paprika, rosemary, salt, and pepper. Add the potatoes and toss well to coat them evenly with the seasoning.
Preheat the Air Fryer: Set your air fryer to 400°F (200°C) and preheat for about 5 minutes.
Cook: Place the seasoned potatoes in the air fryer basket in a single layer. Cook for 20-25 minutes, shaking the basket halfway through to ensure even cooking.
Check for Doneness: The potatoes should be golden brown and crispy on the outside. You can test for doneness by piercing a potato with a fork; it should be tender inside.
Serve: Once done, transfer the potatoes to a serving dish. Garnish with fresh parsley if desired and serve hot.