Otter Documentation

PowerShell - PSEval

  • Last Modified: 2020-06-26

This is generated from the built-in components of Otter 2.2, and may be different than what you have installed (especially if you have extensions); go to [User Icon] > Documentation within your Otter instance to see exactly what operations are available.


Returns the result of a PowerShell script.

Script usage:



Name Description
ScriptText The PowerShell script to execute. This should be an expression.


# set the $NextYear variable to the value of... next year
set $PowershellScript = >>
(Get-Date).year + 1

set $NextYear = $PSEval($PowershellScript);

Log-Information $NextYear;

Is this documentation incorrect or incomplete? Help us by contributing!

This documentation is licensed under CC-BY-SA-4.0 and stored in GitHub.

Generated from commit 454853a8 on master