Declarative syntax library for generating custom PRTG Network Monitor sensor XML

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PrtgXml

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PrtgXml

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More



(c) 2017 lordmilko. All rights reserved.

Package Details


  • lordmilko


Prtg Custom Sensors EXE Script Advanced XML


Prtg Result Text Error Channel Value Unit CustomUnit SpeedSize VolumeSize SpeedTime Mode Float DecimalMode Warning ShowChart ShowTable LimitMaxError LimitMaxWarning LimitMinWarning LimitMinError LimitErrorMsg LimitWarningMsg LimitMode ValueLookup NotifyChanged


This module has no dependencies.

Release Notes

PrtgXml is a PowerShell library that provides a declarative syntax for creating EXE/Script Advanced sensors in PRTG Network Monitor.

Typically, to generate a response with one channel the following XML is required

               <Channel>First Channel</Channel>

The equivalent XML can be generated as follows via PrtgXml

Prtg {
       Result {
               Channel "First Channel"
               Value 10

All tags supported by EXE/Script Advanced sensors are supported by PrtgXml. For additional information please see the Project Site.

Note: if you were previously using this package under its previous name (PrtgAPI.CustomSensors) you will need to uninstall that package first before you can install this one.


Version History

Version Downloads Last updated
0.1.0 (current version) 139,086 8/3/2019