FBXExportInstances -v [true|false];
FBXExportInstances -q;
This is the script equivalent of the Instances to objects option in the UI.