Do we need to set a specific execution policy to run this script? please guide on how to use?
The script is not digitally signed, so you need to bypass the execution policy currently set on your machine: powershell.exe -ExecutionPolicy Bypass -File .\PowerCopy.ps1 . Alternatively you can go to PowerCopy.ps1 file properties and UNBLOCK it.
Md Feroze Khan, please check the description. I've included few additional notes regarding the execution policy & the security warning message. Also a screenshot is attached. Thanks.