Forum Discussion
Anonymous
5 years agoThis just means that your script didn't write anything to the stdout pipe. With PowerShell, you use Write-Host "propertyname=propertyvalue" for every property you want to create on the device. https://www.logicmonitor.com/support/logicmodules/propertysources/creating-propertysources
You may also look at using the debug window to run your script. That way you can see the raw output. The command you'd want to run is !posh. However, you'll want this chrome extension. Without it, you have to upload your script to the collector and specify the path. With it, you can just paste in your script and select the device to run against. It will make the token substitutions and run it on the collector against that device.
Related Content
- 7 months ago