question

Filip-2434 avatar image
0 Votes"
Filip-2434 asked IanXue-MSFT answered

How to get list of active objects.

Hello.
How to get list of active object with powershell.
I can get active object with this command, but i want get list of all active object what can i use there.

 $word = [System.Runtime.InteropServices.Marshal]::GetActiveObject('Word.Application')

Is it possible to do.

Thanks for answare.

windows-server-powershell
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

IanXue-MSFT avatar image
0 Votes"
IanXue-MSFT answered

Hi,

This could be helpful
https://stackoverflow.com/questions/13432057/how-to-use-marshal-getactiveobject-to-get-2-instance-of-of-a-running-process-t

Best Regards,
Ian Xue
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.