There are a few “magic” variables that are inconsistently used in the documentation online and in the ps help. For example I noticed in the new-udform “$body” is used in the example but there is not content when I try. However in the parameter section of the “-onsubmit” $EventData is referenced and works fine.
PSU: 2.0.3 UD: Latest