I've been using powershell to dump our infopath forms to PDF for years. Just updated to windows 10 and now our powershell script is acting up.
I'm using this command to setup the com object, it's been working for years. Pasting this into powershell generates the below error on all our machines.
$infopath = New-Object -com InfoPath.Application -verbose:$false
The popup says "the index is out of bounds. Invalid index." Clicking ok the script continues fine and dumps the views to pdf like always, but clicking ok 5,000 times, with a 10 second pause per form is getting old quick..
Anyone have any idea? I've not found anything on this error and infopath searching around.