Download the script Demo Powershell Script - Connecting to database with ADO.ps1 from the PRTG 7 Addons Google Code project and place it into the following folder either on your PRTG core installation (if you want to use the LocalProbe) or on a Remote Probe System.
\prtg network monitor\custom sensors\exe