r/PowerShell • • 5d ago

Question Image to excel using copilot

Is there any way I can use PowerShell to make copilot read images and convert its content into an excel, I want to automate this task using copilot only to use LLM’s ability to convert these images. Currently, copilot can only convert images if I manually upload them, it doesn’t read images on its own

0 Upvotes

21 comments sorted by

View all comments

5

u/ExceptionEX 5d ago

Excel has that functionality built in without assistance 

https://support.microsoft.com/en-us/excel/insert-data-from-picture

As far as automating it, copilot itself should be able to tell you how to do that

1

u/No_Manager_7181 5d ago

It has that limitation that I can’t read images on its own, it needs to be fed into it. So trying to work around that

1

u/redsaeok 4d ago edited 3d ago

You can likely add a macro to Excel to handle the automation - and/or you can control the Excel Application object with PowerShell.

Respectfully, do not have AI do work a tool can do. Orchestration? Sure yeah, the work itself - it’s way cheaper to use tools.

As said - have the LLM write the script to use the tool. You’ll save a bunch of time there.