Invoke PowerShell Shell

How to pass Variables into Remove-Item “Variable*” -Force -RecursePowershell

Hi @nibu

Check this

Pass a variable from UiPath to Invoke Powershell activity


1 Like

Hi @nibu,
This tutorial should help you:

1 Like


Why don’t do this way: “Remove-Item “+PC_Folder_Path+” -Force -Recurse” ?

1 Like

Good idea @Head
However the power shell don’t work with any code !! power

Based on what do you want to achieve with PS you need to choose proper argument type:

1 Like

Thank you @Pablito

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.