8,330 questions
You need a share name too.
\Server\Share\Harvester.ps1
Your PowerShell execution policy might also block remote scripts. You should get some error message from PowerShell.
PowerShell -noexit -executionpolicy bypass -file \\Server\Share\Harvester.ps1