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
resetinventory
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.