Powershell with UiPath
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am kicking off a PowerShell script with UiPath. I need to pass an argument in, from UiPath. Firstly is this possible and secondly does anyone have an example of this? Not sure what the syntax is for this in the PowerShell script 回答1: Is it possible to pass arguments from UiPath to the terminal. Your PowerShell script needs to be saved in a txt file.(PSSampleParameters.txt) Code sample(PSSampleParameters.txt): Param( [string]$computerName ) [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") [System.Windows.Forms