This command will resurrect your current target (provided it is dead). See argument information for options.
resurrect [0 / 1] Target Command
0 / 1 | Optional (0 is default). Specify '0' (without quotes) here to have a completely new copy of your target re-spawned meaning a restored inventory, etc. Specify '1' (without quotes) here to bring the existing NPC back to life - the inventory will be the same as it was when the character was dead, all that changes is the health of the character. |
resurrect
This command is the same as 'resurrect 0'. After executing this command, your target will be removed from the game and a new copy will be created. The new copy will have all the items, etc that the dead NPC spawned with originally.
resurrect 1
The above console command would simply bring the dead NPC on the floor back to life (bring its health up). If you had looted something from the body of the corpse, that item will not be in the new NPCs inventory. The NPC will be exactly the way it was just before it died, not a new copy.