Under which account you're running this script?
It's capable of writing to the said share?
For instance, if you add a drive via New-PSDrive, will you be able to, say, copy a file (Copy-Item) to it within a PS session?
yes, checked after your comments (even within powershell script editor when I write down network path, it gives me tips/suggestion about folders on that path)
If you execute the script manually not through Windows Scheduler, will you get the same error?
windows scheduler doesn't show any errors, just keeps running and running endless (w/o any info/errors) until I stop it manually and then it show "completed succesfully" in results column, but it didn't even begin copying or smth. like that
yes, I'v got the same error
What about computer account and its permissions?
How do I check it (HV server/SMB Linux server are not in the domain, they're separate machines)?
Or what do you mean?
Thanks for comments...