r/PowerShell • • Apr 11 '26

Question Powershell + Visio

How would you approach solving the following using PowerShell: creating a Visio diagram based on data from JSON?

The examples I’ve seen typically rely on Visio being installed locally and use file-based approaches. As far as I know, there isn’t an open API in Microsoft 365 for this, but I may have missed something.

Perhaps create drawio file convert it to visio

24 Upvotes

27 comments sorted by

View all comments

Show parent comment

3

u/wookiestackhouse Apr 11 '26

PSWriteHTML also has its diagram functionality if you're after something somewhat dynamic in an HTML file. It too is just a wrapper, this time vis.js, but it's pretty easy to work with.

1

u/xipodu Apr 11 '26

Thanks!