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<br /> Get-XAFarm : Error reading the current administrator data (0x80060016)<br /> At line:1 char:11<br /> + Get-XAFarm <<<<<br /> + CategoryInfo : InvalidResult: (:) [Get-XAFarm], CitrixException<br /> + FullyQualifiedErrorId : GetCitrixAdminType,Citrix.XenApp.Commands.GetFarmCmdlet Typically this error code in Citrix indicates a problem with IMA.