So I have a very basic PowerShell script that I have tested and ran successfully that should execute among an S/W alert.
When I set up the alert's action, and simulate it, S/W states that it "Executed Successfully", however the script is supposed to change a file over the network and it is not changed. I figure there could be a few possibilities:
1. Permissions! - My S/W instance is running under a domain account that has local admin privileges on both the server I'm accessing and the server I'm on.
2. Bad Scripting. - In all honesty, I am a very novice when it comes to PowerShell, however I have tested it running it as myself (again, permissions).
3. S/W not actually executing the script? - I've looked through the Windows Event Log and the SolarWinds logs to see either a successful execution or a failed execution, but am finding nothing.
Any and all help is appreciated.
Thank you!
EDIT---- I have drilled down to know that this is a security issue. After careful review; I am running my S/W services as Local System, which will not have access to the network shares file system. Can I change my services to run under this domain account -- they are local admins. Also, which service should be updated?