Extracting Clang AST on Windows from Visual Studio solution

Hello,

I am able to dump Clang AST for a single .c or .cpp file with following command in Windows command prompt:
clang -cc1 -ast-dump -I path_to_MinWG_inlcude source_file.c > clang_ast_file.txt

My question is whether it is possible to extract Clang ASTs for all source files for all projects in a Visual Studio solution?

Thank you for any help in advance.

P.S.: If this is the wrong place to ask this question, please point me to the correct place. Thank you.

Best Regards,
Evgeny Karataev