Hi matitdob-1938,
If you query events from a remote computer, you need to specify the name and domain of the remote computer, as well as the user name and password used to connect to the remote computer. Instead of Typing ".", "" Or "computer name" as Domain.
More details you can refer to this document.
In addition, you need to be ensure that the specified user has local administrator rights on the PC queried by EventLogSession.
Best Regards,
Daniel Zhang
If the response 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.