The console is a debugging commajds in the Windows version of Fallout 4. Type the command into the console again to turn it off. God Mode tgm Turns on god mode, making you invincible.
Instead, type out the name of the item you want, and follow up by replacing the with the number of items you require. What Fallout console commands are there? And, speaking of laser-powered boomsticks, you can magic those into the game via console commands in Fallout 4, too.