The Citrix XenDesktop management pack requires that WinRM be enabled on your DDCs as well as all of the VDAs in your environment, in order to get session latency metrics.
This article outlines how to enable WinRM on a large number of systems in your domain.
1. First, go to Control Panel > System and Security > Administrative Tools > Group Policy Management
3. Right-click on the policy you just made, and click edit
4. Go to Computer Configuration > Policies > Administrative Templates > Windows Components > Windows Remote Management (WinRM) > WinRM Service.
5. Double-click the setting Allow remote server management through WinRM. Select Enable and type in * in for both IPv4 filter and IPv6 filter.
6. Go to Computer Configuration > Preferences > Control Panel Settings. Right-click Services and choose New > Service.
7. Set the Startup: field to Automatic (Delayed Start). Set Service Name to WinRM. Set Service Action to Start Service. Click OK.
8. Go to Computer Configuration > Policies > Windows Settings > Security Settings > Windows Firewall with Advanced Security > Inbound Rules. Right-click on Inbound Rule and select New Rule.
9. Select Predefined: option and choose Windows Remote Management from the list (not the one with compatible). Click Next.
10. Check the option for Domain,Private and Uncheck Public.
11. Allow the connection option at the next screen. And click Finish.
12. If you don't want to wait for Active Directory propagation. Run gpupdate /force from PowerShell.
13. Finally, test the connection. Open a PowerShell window and type:
Enter-PSSession -ComputerName <remote_computer_name>