For using PowerShell in Applications Manager, you need the latest Windows Management Framework (Windows PowerShell 5.1) on both Applications Manager server and the remote Windows server.
Powershell script execution must be enabled on Applications manager server for data collection. Here is how you can do it:



Ensure that Windows PowerShell is enabled in both servers:
Ports required for PowerShell remoting - Default: TCP 5985 and 5986
You can verify the availability of Windows Remote Management (WinRM) service and configure PowerShell for remoting by following these steps:
On Remote Monitored Server:
Set-Item wsman:\localhost\client\trustedhosts <Applications Manager hostname>
On Applications Manager Sever:
Set-Item wsman:\localhost\client\trustedhosts *
"Set-Item WSMan:\localhost\Shell\MaxShellsPerUser -value 25 -WarningAction SilentlyContinue" ( To increase the maximum number of concurrent shells that a user can remotely open)
"Set-Item WSMan:\localhost\Shell\IdleTimeout -value 60000 -WarningAction SilentlyContinue" (Determines how long the session stays open if the remote computer does not receive any communication from the local computer, including the heartbeat signal. When the interval expires, the session closes.)
You can test the configuration and connection from Applications Manager by following these steps:
The steps above will test whether the WinRM service is running on the remote computer and if Applications Manager can communicate with the remote server.
It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.
Reviewer Role: Research and Development