Here is a tested list for XCOM 2 console commands. I found some of these commands myself and others have been gathered from all over the net. I also created an online tool to class change and buff your Soldiers, to facilitate the process.
XCom 2 Character Booster. Simply enter the name of your Soldier and select a class. The script will return the console commands that you need to enter to buff your soldier.