ActiveXperts Network Monitor KB - Monitoring Powershell
Our mission at ActiveXperts Software is to deliver high quality Network Monitoring solutions and Windows Development components.
Our goal is to supplement these solutions with timely support resources that can help at many different levels.
The first thing you want to do is try to find the answer to your problem in the Knowledge Base.
If you cannot find an answer to your question in our Knowledge Base, or if you need additional information or assistance, please use our Contact Support form.
'Monitoring Powershell' Knowledge Base Articles
| Q6960010 | When I run a Powershell-based check. I get an error: "Execution of PowerShell scripts is disabled on this system." |
| You must allow Powershell scripting on the machine that has ActiveXperts Network Monitor running. Read more on allowing Powershell scripting here:activexperts.com/support/network-monitor/online/powershell/ Please note that allowing Powershell on 32-bit operating systems is different from 64 ... | |
| Q6960020 | We use PowerShell scripts to monitor several servers. Is there a way to see how the PowerShell interpreter is invoked by the Network Monitor Engine? |
| You can turn on PowerShell logging for the Network Monitor Engine. To do so, enter a valid file name in the following registry entries (there's a registry entry for each PowerShell thread/subprocess): HKLM\Software\ActiveXperts\Network Monitor\Server\Trace\ThreadPowerShell000 HKLM\Software ... | |
| Q6960030 | When a PowerShell is executed by ActiveXperts Network Monitor, I get the following error: "The term 'ps1' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again". What is the problem? |
| Under the hood, ActiveXperts executes all PowerShell checks by executing a command like this: cmd /q /c "C:\Windows\System32\WindowsPowerShell\v1.0\PowerShell.exe "C:\PROGRA~1\ACTIVE~1\NETWOR~1\scripts\MONITO~2\CPU.PS1" As you can see, a 8dot3 naming convention is used for powershell files ... | |
| Q6960040 | I get the message "Timeout occurred when executing command" in my PowerShell check. What's the reason? |
| A possible reason is that one of the include files (activexperts.ps1, activexperts-wmi-dcom.ps1, or activexperts-wmi-winrm.ps1) is blocked by Microsoft. Or the script (e.g. Cpu-wmi-winrm.ps1) itself is blocked. The best way to check this is to run the script from the command line. If t ... |
If you cannot find an answer to your question(s) in our Knowledge Base, or if you need additional information or assistance, please contact our Customer Support using our Contact Support Form
