Yes, I did the following from a SQL Agent PowerShell job step:
$src = "\\serverpath\filename"
$dst = "e:\path\filename"
Copy-item $src -destination $dst
and still get the SQL Agent error:
The error information returned by PowerShell is: 'Invalid Path: '\\serverpath\filename'. '. Process Exit Code -1. The step failed.
The following from PowerShell on the server box succeeds:
Copy-item "\\serverpath\filename" -destination "e:\path\filename"
Must be some permission issue, but I'm not smart enough to figure it out. Thx