if ((Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue) -eq$null) {
Add-PSSnapin "Microsoft.SharePoint.PowerShell"
}
Get-ADUser -Identity ngoram -Server "NGO" -Properties *
Reference:http://itknowledgeexchange.techtarget.com/powershell/get-aduser-doesnt-display-properties/
No comments:
Post a Comment