So its simple the main command is player.placeatme [spawn code] [quantity]
for the spawn codes help dragon 0 help guard 0 help troll 0 etc etc you get the gist use page up and page down to scroll through the lists in the command console window. I've just found this out so I thought I would post it to anyone still searching :P. time to overrun whiterun with trolls
Sorry chap only just getting used to the message board it is my first few posts, none the less on google this will be one of the main threads popping up when people type in npc spawn codes (bringing you more business ), at the moment I have no idea how to search through a certain thread without spending hours looking through all 36+ pages.