Help with my IR project.

So I plan on using my Uno coupled with a "Keyes" IR shield aswell as the remote to remotely turn on my computer. This is quite easy, as to turn on the computer via the motherboard is just powering it with 5V.

I have managed to successfully test out my IR and it works fine with the following code that I copied from someone.

#include <IRremote.h> //include the library
//PIN
int receiver = 11;
IRrecv irrecv(receiver); //create a new instance of receiver
decode_results results;
void setup() {
Serial.begin(9600);
irrecv.enableIRIn(); //start the receiver
}
void loop() {
if (irrecv.decode(&results)) { //we have received an IR
Serial.println (results.value, HEX); //display HEX
irrecv.resume(); //next value
}
}

The only problem now is once a IR signal is received how do I tell the Arduino to output a 5V signal via a pin?
Is there a command. Sorry I am a real newb to this

The only problem now is once a IR signal is received how do I tell the Arduino to output a 5V signal via a pin?

Set the pin HIGH. After a while, set the pin LOW.

Is there a command.

digitalWrite().

I am a real newb to this

Then maybe this isn't the project for you.

Yes the Arduino IDE comes with a set of example sketches. ( Menu->File->Examples)

Your first step should be to try as many of the provided examples as you can.

You will see several examples of projects, with what you need.

What you want to do is relatively low in complexity for Arduino. Have fun & best of luck