You write a program on you PC to send a command via serial.
Have the PIC programmed to look for a certain command from the PC.
If the PIC likes what it sees from the PC...