When i executed this script localy from Powershell all went good
Share folder permisions are set to All/FullControl for both Share and NTFS security options.
I think the problem may be in SYSTEM user from witch Tentacle executing Powershell script
New-PSDrive : Drive root “\10.0.0.1\Share” does not exi
Error 18:00:07
st or it’s not a folder.
Error 18:00:07
At C:\Windows\system32\config\systemprofile\AppData\Local\Tentacle\Temp\d1d3fcb
Error 18:00:07
d-a56c-4c26-9204-fb3f7f6366a7.ps1:11 char:12
Error 18:00:07
New-PSDrive <<<< -Name X -PSProvider FileSystem -Root \10.0.0.1\Share
Error 18:00:07
Thanks for getting in touch! The service user that Octopus runs under would not have the permissions to perform the tasks you are after.
You can change the user that tentacle runs under for these scenarios: