I can run get-terminalsession against W2K3/8 servers from XP/7 workstations but if I try to run the command against an XP/7 workstation then I get an access denied error, despite using domain admin credentials.
(executionpolicy is set to bypass)
Using Powershell 2 and PSCX 2
Get-TerminalSession : Access to 'machinename' was denied.
At line:1 char:20
+ get-terminalsession <<<< machinename
+ CategoryInfo : NotSpecified: (machinename:String) [Get-TerminalSession], UnauthorizedAccessException
+ FullyQualifiedErrorId : UnauthorizedAccess,Pscx.Commands.TerminalServices.GetTerminalSessionCommand