SQL 2000 Database sizes, with Powershell

This example application template monitors the size of the master database on a sql 2000 server. The script was made for Powershell. This template works if this script is executed by the Solarwinds server itself, not remotely. At this moment in the script arguments you must indicates the name of the server.

4 outputs are available :

1- Master_DBsize in MB

2- Master_DBused in %

3- Master_LOGsize in MB

4- Master_LOGused in %