@covcreo wrote:
I have created a PowerShell script that does the renaming of files in folder. It works in PowerShell but, when I set it to invoke in UiPath I get an error. Again I am using this in PowerShell >
(GCI \\my-server-name\d_box_1$\A0\*.pdf) | Rename-Item -NewName {$_.Name -replace "^","A0-"}
When I place it in UiPath Invoke PowerShell i get the error below.
Posts: 7
Participants: 2