Could not load file or assembly 'System.Management.Automation'
When you scan a Citrix XenApp Farm you see the following error
"Could not load file or assembly 'System.Management.Automation, Version=22.214.171.124, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified."
The Citrix XenApp Farm Agent uses Microsoft Windows PowerShell to gather information from the remote farm. The error is seen when Microsoft Windows PowerShell 2.0 or above is not installed on the machine running the XIA Configuration Client.
Install Windows PowerShell version 2.0 or above on the machine running the XIA Configuration Client.