我正在使用UiPath开始使用PowerShell脚本。我需要从UiPath传递一个参数。首先是可能的,其次有人有这方面的例子吗?不确定PowerShell脚本中的语法是什么
是否可以将参数从UiPath传递到终端。
代码示例(PSSampleParameters.txt):
Param(
[string]$computerName
)
[System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")
[System.Windows.Forms.MessageBox]::Show($computerName)