HM: 9.22
OS: Windows Server 2008 R2
I'm running HostMonitor as a service using the System Account, and have specified an Administrator account under the Service tab of the Options dialog inside HostMonitor. If I launch RCC from a console RDP session on the server, open my PowerShell script under Script Manager, and run it under the Lets try tab, it seems to run correctly. If I do the same thing under RCC from a different machine, it gives me the PSSecurityException. When the service attempts to execute it, it always replies Script returns no results. If I run the x86 version of PowerShell as my HostMonitor user on the server, and execute Get-ExecutionPolicy -List, this is what it's currently set to:
Scope ExecutionPolicy
----- ---------------
MachinePolicy Undefined
UserPolicy Undefined
Process Undefined
CurrentUser Bypass
LocalMachine Bypass
Any advice?
Thanks,
=-Jameson
Problem Executing PowerShell Scripts from Service
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact: