The company I am currently working with has WinRM disabled across the board and turning it on is not an option.
I have been performing all of my remote task so far using WMI, Built in (not WinRM) cmdlets and with a lot of psexec.
Currently I've run into an issue with psexec where I am trying to execute a ps1 file on the remote computer and even though it runs, it gives me an error from within the code that does not happen when I run it locally from any machine.
simply, I wrote a perfectly working cmdlet to open and excel file and save the required tab as a csv for import into scripts. And I need to get this to execute correctly on a remote machine "the one that has EXCEL installed"
I would really appreciated any alternative cmdlet, .net class, or comObject, etc. that anyone can recommend to accomplish this without WinRM.
Thank you!!!