Get-AD
Jump to navigation
Jump to search
Get-ADUser -Filter "GivenName -eq 'Joe'" Get-ADPrincipalGroupMembership junhuo | select name | findstr -i foo Get-ADGroup -Identity "my group name" Get-ADGroupMember <adgroup> get-adgroup my-tester-group (Get-ADGroupMember "My AD Host Group").name
Get-ADReplicationSite -Filter *
Check user using cred
$Credential = Get-Credential Get-Aduser username -Credential $Credential -Server wjp1-dc