r/PowerShell • u/No_Manager_7181 • Oct 06 '26
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
View all comments
Show parent comment
1
u/thehuntzman Oct 06 '26
You're going to need to use the outlook COM interop in powershell to get the attachments or content body of a message then save the image, send the image to an LLM to parse out (Idk if you can do copilot specifically but it would be trivial to use openrouter) and then the easiest thing to do would be export it as a csv.