If the left side of the console is not visible, one may need to edit the Fallout4_Default.ini file in the installation folder. While the console is open, the game will pause and the camera will freeze. The HUD will disappear and you will get a prompt (- |) in the lower-left corner of the screen where you can input commands as listed below (The console will also remember any previously entered commands, which you can scroll through with the Up and Down Arrow keys). In order to access the console, you will need to use the key appropriate for your language (as shown in the list of console keys).
After restarting Fallout 4 pressing the equivalent button from above will open the console. Should this for some reason not work, you can always set your keyboard's language layout to US in the Windows control panel.
United Kingdom: ' (below the symbol, on the same key).United States: ~ or ` (to the left of the number 1 key).Swiss: ¨ (The upper key of the left of the enter key)).It cannot be used in the game console versions or in Survival mode. It is useful for altering content while in-game, but may be used to cheat as well. The console is a debugging tool in the Windows version of Fallout 4.