1 Reply Latest reply on Mar 2, 2019 2:43 PM by Adriano Gomes

    power shell is not working as expected,access is denied in logs

    balaji ganesan
      Share This:

      I am running a power shell script, job completed fine , But there is a access issue in output. Please help me to fix this issue

       

       

      PowerShell.exe -NoProfile -ExecutionPolicy unrestricted -Command "& 'D:\Scripts\CopyToImageServer.ps1'"

      Transcript started, output file is D:\Scripts\log\SyncToImageServer20190302_120545.log

      Script Execution Started: 20190302_120545

      Remove-Item : Cannot remove item

      \\axe\ns\CORPPIM\AssetExtraction\objects\PD999998.PDF: Access to the path is

      denied.