Get-GFTADUser
Definition
This function allow you to get user from all DC in your AD. Resolve replication delay.
Usage
#For default properties:
Get-GFTADUser myuser
#For others properties:
Get-GFTADUser myuser -Properties mail,LastLogonDate
Default options
# This function cannot be run without samaccountname
[Parameter(Mandatory)]
[ValidateNotNullOrEmpty()]
[string]$SamAccountName