Hi there!
I think the simplest solution is to use the Rotate portion of the Move tool.
- Select your body/component
- Select the Move tool (under Modify if you don't see it in your default UI layout)
- Select Rotate from the options at the top of the Move dialog
- Confirm your body/component is still selected, then select an axis of rotation (you can use any line on your part, or use the origin axes)
- Enter 90 or 270 depending on the direction you would like the part rotated
Feel free to let me know if you encounter any issues!
Edit: I have attached a sample file, which includes the commands used. I did not bother with Screencast recording my inputs, as that seemed excessive for this operation.