使用WMI操作AD时常用的属性

来源:互联网 发布:淘宝开店软件排行榜 编辑:程序博客网 时间:2024/06/06 02:55

在操作AD时,需要了解里面常用的属性名,在这列出常用的,以msRTCSIP开头的属性是有关LCS的属性。

objectClassSystem.Object[]
cn赏梅sn赏cCN
givenName梅
distinguishedNameCN=赏梅,OU=组织单位,DC=域名,DC=com
instanceType4
whenCreated2005-12-22 1:37:21
whenChanged2005-12-28 6:30:46
displayName赏梅
uSNCreatedSystem.__ComObject
uSNChangedSystem.__ComObject
co中国
homeMTACN=Microsoft MTA,CN=MAINDC,CN=Servers,CN=第一个管理组,CN=Administrative Groups,CN=第一个组织,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=域名,DC=com
proxyAddressesSystem.Object[]
homeMDBCN=邮箱存储(MAINDC),CN=第一个存储组,CN=InformationStore,CN=MAINDC,CN=Servers,CN=第一个管理组,CN=Administrative Groups,CN=第一个组织,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=域名,DC=com
mDBUseDefaultsTrue
mailNicknamesm
name赏梅
objectGUIDSystem.Byte[]
userAccountControl66048
badPwdCount0
codePage0
countryCode156
badPasswordTimeSystem.__ComObject
lastLogoffSystem.__ComObject
lastLogonSystem.__ComObject
pwdLastSetSystem.__ComObject
primaryGroupID513
objectSidSystem.Byte[]
accountExpiresSystem.__ComObject
logonCount92
sAMAccountNamesm
sAMAccountType805306368
showInAddressBookSystem.Object[]
legacyExchangeDN/o=test/ou=test/cn=Recipients/cn=sm
userPrincipalNamesm@域名.com
objectCategoryCN=Person,CN=Schema,CN=Configuration,DC=域名,DC=com
textEncodedORAddressc=CN;a= ;p=test;o=Exchange;s=sm;i=sm;
mailsm@域名.com
msRTCSIP-PrimaryUserAddresssip:sm@域名.com
msRTCSIP-UserEnabledTrue
msRTCSIP-PrimaryHomeServerCN=LC Services,CN=Microsoft,CN=pool1,CN=Pools,CN=RTC Service,CN=Microsoft,CN=System,DC=域名,DC=com
msRTCSIP-FederationEnabledFalse
msRTCSIP-InternetAccessEnabledFalse
msRTCSIP-ArchivingEnabled0
msExchHomeServerName/o=test/ou=test/cn=Configuration/cn=Servers/cn=MAINDC
msExchALObjectVersion51
msExchMailboxSecurityDescriptorSystem.__ComObject
msExchUserAccountControl0
msExchMailboxGuidSystem.Byte[]
msExchPoliciesIncluded{E164BC06-D338-46CD-BF91-B96A1A5D4C88},{26491CFC-9E50-4857-861B-0CB8DF22B5D7}
nTSecurityDescriptorSystem.__ComObject