Repository navigation
Added
Set-PrtgMessageaccepts the message from the pipeline.Get-Status | Set-PrtgMessage
used to fail with a binding error, whileAdd-PrtgChannelandWrite-PrtgErroralready took
pipeline input. Each piped item overwrites the message, so the last one wins, and a piped
object binds as its string form, so pipe the property you mean. Masking, the#strip and
the truncation apply as for a direct call; the positional and-Textcalls are unchanged.
Changed
Internal
-
The behaviour tests run against the source tree; only the artifact tests read the build.
./tasks.ps1 testbuilds, then importsSource/, so a failure names the source file and line
and a forgotten build can no longer pass.-Target Distruns the same tests against the built
module and-Pathruns one file or folder. The checks about the build itself moved to
Tests/Artifact/, always readDist/, and now also catch a stale build and manifest drift. -
./tasks.ps1 coveragemeasures the source files. It reports a percentage per file and
every missed command as<file>:<line>: <command>. -
The log caller detection recognises the module's own frames by its base folder instead of
the root module's file name, which only ever matched the concatenated build.