The Script field of the PowerShell script is stored in the CmdStr step property, which is the default property for that action, so if you have
Tools | Application Options | Logging | Log default property of each step checked, it will be logged when the step is built.
http://www.kinook.com/VisBuildPro/Manual/loggingopt.htm
Otherwise, you could log it yourself in the vbld_StepStarted script event like so:
Builder.LogMessage "PowerShell command = " & vbld_StepProp("CmdStr", vbString)
http://www.kinook.com/VisBuildPro/Ma...riptevents.htm