Hello. I have one quite simple PowerShell script which I need to run on a remote server to monitor some WMI objects. This server and PRTG probe are in the same domain. When I execute the script from PowerShell environment manually everything is ok. But when I run it through PRTG (EXE/Script sensor type) it doesn't work.
Finally I found out that the problem might be in credentials for the script. I've thought that it should use Windows credentials inherited from the device settings (I have a special PRTG domain user). But in fact the user is like PRTGServer$. Also I see in remote server events log that this server doesn't receive computer name from the PRTG probe. I think that everything would be ok with my standard PRTG user. What can I do to run this script using this credentials?