PowerShell Data Stream Parameters

The PowerShell plugin provides configurable data streams to visualize data from PowerShell scripts.

Each configurable data stream exposes a set of parameters that lets you filter the data you retrieve. The following information describes the available configurable data streams and their parameters in detail.

Run Script

Runs a PowerShell script in the SquaredUp cloud and returns whatever the script writes to output.

Note

If a script takes too long or returns too much data in one run, it can output its data in pages.

Parameter
Description
Script
Enter or paste your PowerShell script into this field. You can use the variables you defined when configuring the data source by entering $variable.variableName. For example, $variable.apiKey or $variable.password.
JSON Depth
Enter the number of nested object levels required in the return payload. This option is useful if the return payload contains a significantly large number of nested objects.

Was this article helpful?


Have more questions or facing an issue?