Removing Friendly Trivial NPC Names

Try this

/run SetCVar("nameplateShowFriendlyNPCs", 0)

otherwise you can reset all your cvars with

/console cvar_default