What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

How can I return multiple values from powershell script?

Votes:

0

Hello, I want to return from single powershell custom script return several values (separated as a chanels) - is it possible or one custom script can return only one value at the same time?

multiple-values powershell wmi

Created on May 17, 2010 12:00:27 PM



1 Reply

Accepted Answer

Votes:

0

Hello,

all scripts can only return one value. This cannot be changed. Please use multiple script sensors and then the Sensor Factory to combine them.

Best Regards.

Created on May 17, 2010 12:21:06 PM by  Torsten Lindner [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.