获取windows AD用户

2021-02-03 15:14

阅读:482

标签:primary   ngui   rdl   info   用户信息   not   mac   create   mes   

获取windows AD下所有用户信息

Get-ADUser -Filter * -Properties * -SearchBase "DC=staff,DC=azureyun,DC=com" |Select-Object name,SamAccountName,Givenname,surname,Displayname,title,mobile,CanonicalName,Created,Department,DistinguishedName,EmailAddress,homeMDB,mail,mailNickname,MemberOf,msExchCoManagedObjectsBL,msExchHomeServerName,PasswordLastSet,PrimaryGroup,proxyAddresses,UserPrincipalName,whenCreated,whenChanged,MobilePhone,telephoneNumber,employeeNumber,postalCode,company |Export-Csv C:\AllADUser20190226.csv -Encoding UTF8 –NoTypeInformation

获取windows AD用户

标签:primary   ngui   rdl   info   用户信息   not   mac   create   mes   

原文地址:https://blog.51cto.com/ting2junshui/2437609


评论


亲,登录后才可以留言!