New Methods
PrtgClient.GetDeviceTemplates
: Retrieves all device templates supported for use in an auto-discovery
New Cmdlets
Get-DeviceTemplate
: Retrieves all device templates supported for use in an auto-discovery
Improvements
- Device templates can now be specified to
NewDeviceParameters
. Specifying one or more templates will automatically set theAutoDiscoveryMode
toAutomaticTemplate
(#11) - Manual auto-discoveries performed by
AutoDiscover
/Start-AutoDiscovery
can now specify one or more device templates to limit the scope to the discovery - Implemented new property
Is64Bit
onServerStatus
returned byGetStatus
/Get-PrtgStatus
CustomParameter
objects can now specify aParameterType
to indicate whether their values should be treated a single values (name=val
), multi values (name=val1,val2
) or multi parameters (name=val1&name=val2
)- Custom parameters used by
RawSensorParameters
/DynamicSensorParameters
now useParameterType.MultiParameter
by default (#12)
PowerShell
- Added new parameter
-Template
toAdd-Device
. When used in conjunction with-AutoDiscover
, retrieves all device templates that match one or more specified wildcards - Implemented new parameter
-Downtime
onGet-SensorHistory
. When-Average
is not specified, sets the average based on the scanning interval of the sensor, allowing theDowntime
column to be included in response. For more information see the wiki - Implemented new parameter
-ProbeStatus
onGet-Probe
. Allows filtering for probes with a specifiedProbeStatus
Set-ObjectProperty
now allows specifying multiple raw values at once for use with a single raw property
Bugfixes
- Results returned by
GetSensorTypes
/Get-SensorType
no longer include duplicate types returned by PRTG - Raw settings that allow for multiple selections (such as Traffic Mode of SNMP Traffic sensors) returned by
GetObjectPropertiesRaw
/Get-ObjectProperty -Raw
now display correctly
PowerShell
- Fixed a bug wherein
Get-SensorHistory
would not stream properly when an-EndDate
is specified - Fixed an issue wherein several cmdlets would perform their actions before displaying initial progress
- Fixed an issue wherein sensor target resolution would crash when PRTG did not include an error message in its error response (such as when its Host value has changed)
Breaking Changes
- Renamed
Probe
propertyCondition
toProbeStatus