How to get list of active objects.

Filip 831 Reputation points
2021-05-01T12:50:13.313+00:00

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 for business | Windows Server | User experience | PowerShell
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2021-05-03T05:52:43.767+00:00

    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.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.