Mighty all, I'm trying to leverage the following code to interact with instances of powerpoint running on a system
[Runtime.InteropServices.Marshal]::GetActiveObject('Powerpoint.Application')
All works as expected until my code gets executed in the same security context as powerpoint.
Now my problem is that as soon as this code runs from a PS session of the same user but with administrative flags - magic stops happening :(
Can anyone think of a way to keep my code running?
Thanks in advance!