Contact Info

Crumbtrail

ActiveXperts.com » Support » Network Monitor » KB Article

Knowledge Base FAQ Item #6960020

 

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\ActiveXperts\Network Monitor\Server\Trace\ThreadPowerShell001

For instance:

  c:\powershell00.log
  c:\powershell01.log

After that, restart the service. Then, all PowerShell operations will be written to the log file(s).

(viewed: 1183)