Hello dear experts!
Reading on Waldo's blog regarding the powershell session he carried out at Directions I got curious and I wanted to move a little project I have independant of NAV to inside NAV.
To accomplish that I need to be able to call Powershell script files from within NAV, and preferibly also be able to get the result as it's generated (messages, process % and such).
I have been messing around the System.Management.Automation dotnet class, specifically the Powershell type but when I run the Invoke method I get an "The Invoke method is ambiguous..." error.
Have any of you guys done something similar and can suggest a way to accomplish that? :) I'm working on NAV2013R2 at the moment.