Yes it is possible to pass arguments from Uipath to the terminal. For this to work, you need to store your PowerShell script in a txt file. Add a "Read Text file" activity and on filename add your PowerShell script. Next Add "Invoke Power Shell" activity and you must set "ContinueOnError" to True and check "IsScript".
Looking for RPA material from basics! Refer to this video on RPA provided by Intellipaat:
Next step is with the "Invoke power shell" activity selected go to on the right panel and click on "..." button from Parameters. In the screen that will open you can add your parameters.
You can refer to this article for more clarity https://www.uipath.com/kb-articles/it-automation-powershell-read-text-files