< Back
Test-ActiveDirectoryIsDomainAdmin
Post
NAME Test-ActiveDirectoryIsDomainAdmin
SYNOPSIS
Test if a user has domain administrator privileges.
SYNTAX
Test-ActiveDirectoryIsDomainAdmin [-User] <String[]> [<CommonParameters>]
DESCRIPTION
Test if a user is member of the Domain Admins security group including nested groups.
PARAMETERS
-User <String[]>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Test-ADIsDomainAdmin myuser
This will return true if the user is a member of the Domain Admins group or false if not.
RELATED LINKS
CommonParameters : True
WorkflowCommonParameters : False
details : @{name=Convert-ActiveDirectoryNaming; noun=ActiveDirectoryNaming; verb=Convert}
Syntax : @{syntaxItem=System.Object[]}
parameters : @{parameter=System.Object[]}
inputTypes : @{inputType=}
returnValues : @{returnValue=}
aliases : None
remarks : None
PSSnapIn :
alertSet :
description :
examples :
Synopsis :
Convert-ActiveDirectoryNaming -DN <string[]> [<CommonParameters>]
Convert-ActiveDirectoryNaming -CN <string[]> [<CommonParameters>]
Convert-ActiveDirectoryNaming -NT <string[]> [<CommonParameters>]
Convert-ActiveDirectoryNaming -UPN <string[]> [<CommonParameters>]
ModuleName : CPolydorou.ActiveDirectory
nonTerminatingErrors :
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
Name : Convert-ActiveDirectoryNaming
Category : Cmdlet
Component :
Role :
Functionality :
SYNOPSIS
Test if a user has domain administrator privileges.
SYNTAX
Test-ActiveDirectoryIsDomainAdmin [-User] <String[]> [<CommonParameters>]
DESCRIPTION
Test if a user is member of the Domain Admins security group including nested groups.
PARAMETERS
-User <String[]>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Test-ADIsDomainAdmin myuser
This will return true if the user is a member of the Domain Admins group or false if not.
RELATED LINKS
CommonParameters : True
WorkflowCommonParameters : False
details : @{name=Convert-ActiveDirectoryNaming; noun=ActiveDirectoryNaming; verb=Convert}
Syntax : @{syntaxItem=System.Object[]}
parameters : @{parameter=System.Object[]}
inputTypes : @{inputType=}
returnValues : @{returnValue=}
aliases : None
remarks : None
PSSnapIn :
alertSet :
description :
examples :
Synopsis :
Convert-ActiveDirectoryNaming -DN <string[]> [<CommonParameters>]
Convert-ActiveDirectoryNaming -CN <string[]> [<CommonParameters>]
Convert-ActiveDirectoryNaming -NT <string[]> [<CommonParameters>]
Convert-ActiveDirectoryNaming -UPN <string[]> [<CommonParameters>]
ModuleName : CPolydorou.ActiveDirectory
nonTerminatingErrors :
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
Name : Convert-ActiveDirectoryNaming
Category : Cmdlet
Component :
Role :
Functionality :