After installing PowerShell Orchestrator, you need to configure the endpoints it will connect to and run assessments against. Managed endpoints are the Active Directory domain controllers, member servers, and other Windows machines that PowerShell Orchestrator will query during its assessment runs.
Understanding managed endpoints:
A managed endpoint is any machine that PowerShell Orchestrator connects to in order to collect assessment data. This includes:
- Active Directory domain controllers
- Windows member servers
- Workstations (if included in your assessment scope)
- Microsoft Entra ID (connected via the configured service account, not a direct machine connection)
PowerShell Orchestrator connects to endpoints using PowerShell Remoting over WinRM. The service account configured during installation is used to authenticate to each endpoint.
Prerequisites:
Before adding managed endpoints, confirm the following on each target machine:
- WinRM is enabled and the WinRM service is running
- The PowerShell Orchestrator service account has read permissions on the target machine
- No firewall is blocking WinRM traffic between the orchestrator machine and the target endpoint
Default WinRM ports:
| Protocol | Port |
| HTTP (unencrypted) | 5985 |
| HTTPS (encrypted) | 5986 |
Anthropic recommends using HTTPS (port 5986) for WinRM connections in production environments to encrypt traffic between the orchestrator and managed endpoints.
[Your administrator should confirm which WinRM protocol and port are used in your environment.]
Enabling WinRM on target endpoints:
If WinRM is not already enabled on a target endpoint, run the following in PowerShell as Administrator on that machine:
Enable-PSRemoting -Force
To enable WinRM across multiple machines simultaneously, use Group Policy:
- Open Group Policy Management Console
- Create or edit a GPO linked to the relevant OU
- Navigate to:
Computer Configuration โ Policies โ Windows Settings โ
Security Settings โ System Services โ Windows Remote Management
- Set the service startup mode to Automatic
- Apply the GPO
[Your administrator should confirm whether WinRM is already managed via Group Policy in your environment before making manual changes.]
Testing connectivity to a target endpoint:
Before adding an endpoint to PowerShell Orchestrator, test that the orchestrator machine can successfully connect to it:
Test-WSMan -ComputerName <hostname or IP> -Credential (Get-Credential)
A successful result returns the WinRM service information for the target machine. If the test fails:
- Confirm WinRM is running on the target machine
- Confirm no firewall is blocking ports 5985 or 5986
- Confirm the service account has permission to connect remotely
Adding managed endpoints in LT Auditor MP:
- Log in to the LT Auditor MP Web UI
- Navigate to Configure โ PowerShell Orchestrator
- Click Add Endpoint
- Configure the endpoint details:
- Name โ a descriptive name for the endpoint (e.g., DC01 โ Primary Domain Controller)
- Hostname or IP Address โ the address of the target machine
- Connection Protocol โ HTTP or HTTPS
- Port โ 5985 (HTTP) or 5986 (HTTPS)
- Credential โ select the configured service account
- Click Test Connection to verify connectivity before saving
- Click Save
Repeat this process for each endpoint you want to include in assessments.
[Your administrator should maintain a list of all managed endpoints and their roles in your environment.]
Adding Microsoft Entra ID as a managed target:
Entra ID is connected as a cloud target rather than a direct machine endpoint.
- Navigate to Configure โ PowerShell Orchestrator โ Cloud Targets
- Click Add Entra ID Target
- Enter the following details from your App Registration in the Azure Portal:
- Tenant ID
- Client ID
- Client Secret
- Click Test Connection to verify the credentials
- Click Save
[Your administrator should refer to the EntraConnector Prerequisites article for instructions on creating and configuring the App Registration in the Azure Portal if this has not already been done.]
Verifying endpoint connectivity:
After adding endpoints, confirm they are showing as reachable in LT Auditor MP:
- Navigate to Configure โ PowerShell Orchestrator
- Review the endpoint list โ each endpoint should show a status of Reachable
- If any endpoint shows as Unreachable, check:
- The WinRM service is running on that machine
- The hostname or IP address is correct
- No firewall is blocking the WinRM port
- The service account credentials are valid and have not expired
Removing a managed endpoint:
If a machine is decommissioned or no longer needs to be included in assessments:
- Navigate to Configure โ PowerShell Orchestrator
- Locate the endpoint in the list
- Click the Delete icon next to it
- Confirm the deletion
Removing an endpoint stops future assessments from running against it. Historical assessment data collected from that endpoint is retained in the LT Auditor MP database and is not affected.
Best practices:
- Always test connectivity before saving a new endpoint to catch configuration issues early
- Use HTTPS for WinRM connections in production to encrypt assessment traffic
- Use a dedicated, least-privilege service account โ avoid using a domain admin account for orchestrator connections
- Keep the endpoint list current โ remove decommissioned machines promptly to avoid failed assessment runs
- Manage WinRM configuration via Group Policy for consistency across large environments
- Document each managed endpoint and its role so other administrators understand the assessment scope
[Your administrator should review the managed endpoint list regularly to ensure it reflects the current state of your environment.]