Command line query tool for source servers