I use a powershell script to retrieve information from a sql database.
When I run the powershell script local on the server, I get the good result.
When I use hostmonitor to execute my script on the server, I get an unexpected result (= not good).
How is it possible I get a different result?
Unexpected result
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Unexpected result
What Windows do you use ?
Microsoft provides 2 different versions of PowerShell (32bit and 64bit versions) for x64 Windows OS.
So, you may manually run 64bit powershell console, while HostMonitor uses 32bit.
Microsoft provides 2 different versions of PowerShell (32bit and 64bit versions) for x64 Windows OS.
So, you may manually run 64bit powershell console, while HostMonitor uses 32bit.
HostMonitor version?
HostMonitor is started as service? as application?
What exactly script do you use? Could you modify it so it will show you what exactly function/method/command fails?
May be you start script different systems? E.g. HostMonitor is running on systemA while you start RCC and test your script on systemB?
Regards
Alex
HostMonitor is started as service? as application?
What exactly script do you use? Could you modify it so it will show you what exactly function/method/command fails?
Its impossible to start HostMonitor using RCC.I use the rcc to start hostmonitor and run the rest
May be you start script different systems? E.g. HostMonitor is running on systemA while you start RCC and test your script on systemB?
Regards
Alex