Citrix XenApp6 0x80060016 Error In PowerShell

I ran into a little snag when executing some XenApp PowerShell commands. Certain commands like Get-XAFarm and Get-XAAdministrator would always give an “0x80060016” error. Here is an example and the fix: `PS C:\Windows\system32> Get-XAFarm Get-XAFarm : Error reading the current administrator data (0x80060016) At line:1 char:11 Get-XAFarm «« CategoryInfo : InvalidResult: (:) [Get-XAFarm], CitrixException FullyQualifiedErrorId : GetCitrixAdminType,Citrix.XenApp.Commands.GetFarmCmdlet` Typically this error code in Citrix indicates a problem with IMA.