For example, "help piper 4 NPC_" will show you only NPCs with piper in their name.
Put the file in the main Fallout 4 game folder 3. For Fallout 3 on the PC, a GameFAQs message board topic titled "Is there a console command to change faction/npc aggression?".