Not to be confused with 'removeallitems', which clears an inventory. This console command will reset an NPC or container's inventory back to the way it was when it first spawned.
resetinventory Target Command
This is the only way to use the resetinventory command. This command requires a target - to select a target, click on an NPC or container whilst the console is open.