I followed the instructions in this kb: https://www.paessler.com/knowledgebase/en/topic/2053-how-can-i-monitor-other-sql-servers-through-ado-with-prtg
I downloaded the script and modified it for our environment. I then ran the script and it returned the number of items correctly with no issues. But when I add the custom sensor that uses this powershell script I just get "Could Not Establish Connection." I even tried it in a bat file and get the same result(works on desktop where PRTG is installed but doesn't work inside PRTG.) Any help would be greatly appreciated!!!!