NPC Console Command?

Does anybody know haw to make an NPC shoot using a console command? Like ordering an NPC to shoot at a certain object?