inv Console Command
Documentation and examples for the inv command in Fallout: New Vegas.
inv
Inventory
List the targeted NPC or container's inventory with item IDs.
Examples
Here is an example of how to use inv.
Lists the selected target's inventory with item IDs.
In-depth description
What inv does
inv prints the contents of the selected NPC or container to the console, with form IDs, much like player.showinventory does for you. Select the target first (click it or use prid <refid>), type inv, and press Enter.