Hey @Travis, you can use the win_stat module of ansible for this purpose. This module helps you fetch information about a file or folder. Have a look at the Docs for more details on parameters and return values. One of the example to write a task for obtaining information about a file in windows would be something like this:
- name: Obtain information about a file in windows
win_stat:
path: path to the file
register: file info
In path you add the path of the file whose information you're trying to obtain and in the register section, you add the information that you'd like to register or save or kept noted.