Im trying to run a SQL script from within a powershell script sensor. But i need to feed the SQL credentials from PRTG into the EXEML Powershell script.... is this possible?
Basically,.. is there any way to access the PRTG credential store from within a powershell script?
Why would i do this? Because i'd like to return different results in different cases, write some stuff to logging etc, which i cant do with plain TSQL.