View Single Post
  #2  
Old 11-20-2015, 10:04 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,015
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
Reply With Quote