This command will take a screenshot of your game and save it to Documents\my games\XCOM2\XComGame\Screenshots\PCConsole.
The syntax for the screenshot command is as follows:
Search our database of 38 XCOM 2 commands...Full list
Find below working examples of the screenshot command.
This is the only way to use this command, after typing this command into the console, you will be able to find a screenshot of your game at Documents\my games\XCOM2\XComGame\Screenshots\PCConsole.