Forum Discussion
Running remote script to write in file share
I found 2 resource that might help you in your issue
https://github.com/PowerShell/PowerShell/issues/11333
and also check this one
https://support.imanami.com/knowledgebase/article/KA-01005/en-us#:~:text=Go%20to%20Security%20Settings%20%3E%20Local,Click%20Apply%20and%20then%20OK.
Thanks for the links.
Well, I've tried the parameters "-scope local", but the issue is just the same. In my case, sometimes runs the first time, sometimes doesn't even run the first time.
Also, I've got that option "Network access: Do not allow storage of passwords and credentials for network authentication" already Disabled, so it's not related to that as well.
Also, if I try to remove the PSDrive with the command Remove-PSDrive <Z> it says the drive does not exist, even when it was created.
Do you think if we create a scheduled task to run the commands will the same issue?
Thanks