Copy-Item permission denied PowerShell WF
hello, have simple powershell wf: workflow gather-securitylogs { parallel { sequence { inlinescript { cmd /k 'wevtutil epl security /q:"*[system[timecreated[timediff(@systemtime) < = 7862400000]]]" c:\%computername%.evtx /ow:true' } copy-item c:\output.evtx \\dc\share\$pscomputername.evtx } } } copy-item errors out permission denied. i'm using domain admin account, elevated powershell, granted full access share , full security permissions... no good. ideas? ps. copy-item works flawlessly outside powershell wf the data above text pseudorandom, brace yourselves. workflow gather-securitylogs { $user = 'xxxxx' $plainpassword = 'xxxxx' $securepassword = $plainpas...