Update Query_instances.ps1

First run. Extract data to text file