The power scan steps Phil left were for a TV. Since you're trying to program it to a home theater receiver you would:
-Hold the AUX button until all other mode lights on remote light up (when you let go AUX should be flashing)
-Press the big red power button one time (not the TV power button)
-Press the number "2" then the star(*) button (this tells the remote it will be scanning for what we consider equipment other then a TV, VCR/DVD)
-Point the remote at the stereo system and press the blue up arrow (channel up arrow) once a second until the home theater system turns off.
-If/when the stereo system does turn off, press pound (#)
If the DISH remote will work with the receiver, this power scan should get it.
Also, correcting one of my counter-parts on the previous post above (which would be for a TV, nothing else), you press the big red power button (not the TV power), and you would press the pound (#) button if the TV were to shut off, not the record button.