Optional - a convenience batch file that you might find slightly easier-to-remember. Place this file in your Fallout 4 root directory (not the Data directory!). Type 'bat gohome' in the console to reset your companion's default home location.
This is an alias for the console command:
cqf home reset