Product Documentation


Nov 17, 2015

Retrieve the effective administrator objects for a user.


Get-AdminEffectiveAdministrator [-Name] <String> [-AdminAddress <String>] [<CommonParameters>]

Detailed Description

This command determines what groups the specified user belongs to and retrieves the matching administrator records. It includes the set of rights that would be granted to the user if he or she used the system.

As this command uses Active Directory to determine what groups the user has, the caller must have the ability to read this information from Active Directory.

Only enabled administrator records are returned.

Related topics




User name or SID of user to query

Required? true
Default Value  
Accept Pipeline Input? true (ByValue)


Specifies the address of a XenDesktop controller the PowerShell snap-in connects to. You can provide this as a host name or an IP address.

Required? false
Default Value Localhost. Once a value is provided by any cmdlet, this value becomes the default.
Accept Pipeline Input? false

Input Type

string User name or SID of user to query

Return Values


Administrator records matching the specified user


-------------------------- EXAMPLE 1 --------------------------

C:\PS> Get-AdminEffectiveAdministrator MYDOMAIN\testuser

Retrieve the administrator records matching user 'testuser'.