Add the butter to a deep skillet or a soup pot over medium heat. Add in the onion and cook until it becomes translucent.
Then add the garlic powder, onion powder, salt and pepper and stir to combine.
Cook for another minute then add the rice and sauté until the rice starts to turn a light golden color.
Pour in the chicken broth and bring it to a boil over high heat. Then cover the pot with a lid and reduce the heat to low medium and cook for 10 minutes.
While the rice is cooking, cut the large pieces of ham into smaller pieces and set aside.
Once the 10 minutes have passed, remove the lid from the rice and gently stir in the broccoli and ham.
Place the lid back on the pan and cook for another 8 minutes then add the freshly grated cheese and stir to combine.
Place the lid back on the pot and remove it from the heat.
Let the cheese melt before serving with fresh parsley if desired.