Set up Remote Powershell for XenDesktop discovery
Summary
Powershell remoting needs to be configured on the Citrix XenDesktop broker before FNMP/Inventory Manager can interrogate it for information about the VDI infrastructure it manages.
Synopsis
Powershell remoting needs to be configured on the Citrix XenDesktop broker before FNMP/Inventory Manager can interrogate it for information about the VDI infrastructure it manages.
Discussion
Remoting is a new feature to Powershell v2.0. It is required by the Citrix Powershell SDK from XenDesktop v5.
The WinRM service must first be installed if it is not already present. Operating systems from Windows 7 and Server 2008 R2 will include the service, but you must download it and install it manually if the server is running Vista and earlier versions of Server 2008.
Once WinRM is installed, launch a Powershell v2.0 session (admin rights are required) and enter the command
Enable-PSRemoting
Say 'yes' to all prompts.
Next you will need to add ourselves to the Trusted Hosts. This can also be accomplished from the Powershell session:
cd wsman:
cd localhost\client
Set-Item TrustedHosts <IM Server>
(Where <IM Server> is the name of the machine from which IM will run).
Now you will need to restart the winRM service:
Restart-Service winrm
Finally you will need to adjust the remote execution policy. We recommend that you set the policy to require that remote scripts be signed:
Set-ExecutionPolicy remotesigned
If the Citrix XenDesktop broker does not have internet access you will need to relax this to unrestricted:
Set-ExecutionPolicy unrestricted
This should be sufficient to allow FNMP/IM to connect to the broker and use the Citrix Powershell SDK to extract all necessary data.
Was this helpful?
© 2026 Flexera. All rights reserved.