Cut up an onion and garlic cloves one day when I didn't have much going on, put them on a smoker on low for 2-3 hours, then put them in the food dehydrator. The next day I put the dried pieces in the blender and made a powder.
I mixed the smoked dried onion and garlic powder with salt and pepper put that on the steak prior to cooking in a cast iron, it was incredible. I felt a little nuts for going the extra length to make my own smoked onion and garlic powder, but it was a game changer. the powder lasted me about 10 months, now I'm back to using store bought, but I'm planning on making my own again in the near future.