PS

PowerShell

The basics

You can run powershell scripts while they are compiled and use the results.

UMS $out as PS :"write-host 'Hello'" ;

Output Type

$out(
        Stderr               -> Error value [True, false]
        ProcID               -> Process ID of Instance [int]
        Stdin                -> Your input [String]
        Stdout               -> Output of your execute [StringBuilder]
        Stopwatch            -> Time of your execute [Stopwatch]
    )

USAGE_

        $VarName!Property!

EXAMPLE_

        $out!Stdout!
        \-> Hello

        $out!Stopwatch.Elapsed!
        \-> 00:00:00.0072300

Example

UMS $out as PS :"write-host 'Hello'" ;

msg $out!Stdout!
//Coded with BH Beta 0.3.1
Output:
Hello

Last updated