Handle the file path pre-validation need and the access permission from the beginning of a BOT development cycle
Published: 2020-01-21T23:44:19+00:00 | Updated: 2020-01-21T23:44:19+00:00
Tested with: UiPath Studio 2019.12.0-beta.61 Windows 10 OS Windows PowerShell Version 5.1.18362.145
Windows PowerShell ExecutionPolicy Windows PowerShell has an inbuilt security setting called "execution policy". Execution Policy determines how (or if) a given PowerShell script can run. By default, PowerShell's execution policy is set to "Restricted", which means the script will not run. You can verify the currently set execution policy by querying on a PowerShell command console as: Get-ExecutionPolicy. It will tell the execution right of the currently logged in user. You need to change the behavior of a PS script execution from the PowerShell command console as: Set-ExecutionPolicy RemoteSigned. You should be able to execute PowerShell scripts then. Else, you can check with your IT team.
SupportUiPath Community Support