The "beautify" and "set beautifierrules" commands have been added to the Command Window to support this (see chapter 7.3 in the User's Guide). This allows you to run a script that beautifies multiple objects from the Command Window, or from the Windows Command Prompt (by using the commandfile=[script] parameter).