【Windows Server 2019】 Active Directory ユーザの属性一覧の確認方法

インフラサーバ

作業環境

  • AD サーバ
    • Windows Server 2019 Standard

ユーザの属性一覧の確認

PowerShell のコマンドで確認します。

  • Get-ADUser -Filter { SamAccountName -eq "<ユーザ名>" } -Properties *
PS C:\Users\Administrator> Get-ADUser -Filter { SamAccountName -eq "testuser01" } -Properties *


AccountExpirationDate                : 
accountExpires                       : 9223372036854775807
AccountLockoutTime                   : 
AccountNotDelegated                  : False
AllowReversiblePasswordEncryption    : False
AuthenticationPolicy                 : {}
AuthenticationPolicySilo             : {}
BadLogonCount                        : 0
badPasswordTime                      : 0
badPwdCount                          : 0
CannotChangePassword                 : False
CanonicalName                        : ad.hogepiyo.co.jp/Users/testuser01
Certificates                         : {}
City                                 : 
CN                                   : testuser01
codePage                             : 0
Company                              : 
CompoundIdentitySupported            : {}
Country                              : 
countryCode                          : 0
Created                              : 2021/01/10 16:00:28
createTimeStamp                      : 2021/01/10 16:00:28
Deleted                              : 
Department                           : 
Description                          : 
DisplayName                          : testuser01
DistinguishedName                    : CN=testuser01,CN=Users,DC=ad,DC=hogepiyo,DC=co,DC=jp
Division                             : 
DoesNotRequirePreAuth                : False
dSCorePropagationData                : {1601/01/01 9:00:00}
EmailAddress                         : 
EmployeeID                           : 
EmployeeNumber                       : 
Enabled                              : True
Fax                                  : 
GivenName                            : 
HomeDirectory                        : 
HomedirRequired                      : False
HomeDrive                            : 
HomePage                             : 
HomePhone                            : 
Initials                             : 
instanceType                         : 4
isDeleted                            : 
KerberosEncryptionType               : {}
LastBadPasswordAttempt               : 
LastKnownParent                      : 
lastLogoff                           : 0
lastLogon                            : 132547469047945535
LastLogonDate                        : 2021/01/10 16:07:12
lastLogonTimestamp                   : 132547360322077495
LockedOut                            : False
logonCount                           : 9
LogonWorkstations                    : 
Manager                              : 
MemberOf                             : {CN=TestGroup01,CN=Users,DC=ad,DC=hogepiyo,DC=co,DC=jp}
MNSLogonAccount                      : False
MobilePhone                          : 
Modified                             : 2021/01/10 16:07:12
modifyTimeStamp                      : 2021/01/10 16:07:12
msDS-User-Account-Control-Computed   : 0
Name                                 : testuser01
nTSecurityDescriptor                 : System.DirectoryServices.ActiveDirectorySecurity
ObjectCategory                       : CN=Person,CN=Schema,CN=Configuration,DC=ad,DC=hogepiyo,DC=co,DC=jp
ObjectClass                          : user
ObjectGUID                           : 17844764-31ae-4520-b4fc-8133507a454a
objectSid                            : S-1-5-21-719404396-2992210836-452933958-1103
Office                               : 
OfficePhone                          : 
Organization                         : 
OtherName                            : 
PasswordExpired                      : False
PasswordLastSet                      : 2021/01/10 16:00:28
PasswordNeverExpires                 : True
PasswordNotRequired                  : False
POBox                                : 
PostalCode                           : 
PrimaryGroup                         : CN=Domain Users,CN=Users,DC=ad,DC=hogepiyo,DC=co,DC=jp
primaryGroupID                       : 513
PrincipalsAllowedToDelegateToAccount : {}
ProfilePath                          : 
ProtectedFromAccidentalDeletion      : False
pwdLastSet                           : 132547356287382098
SamAccountName                       : testuser01
sAMAccountType                       : 805306368
ScriptPath                           : 
sDRightsEffective                    : 15
ServicePrincipalNames                : {}
SID                                  : S-1-5-21-719404396-2992210836-452933958-1103
SIDHistory                           : {}
SmartcardLogonRequired               : False
sn                                   : testuser01
State                                : 
StreetAddress                        : 
Surname                              : testuser01
Title                                : 
TrustedForDelegation                 : False
TrustedToAuthForDelegation           : False
UseDESKeyOnly                        : False
userAccountControl                   : 66048
userCertificate                      : {}
UserPrincipalName                    : testuser01@ad.hogepiyo.co.jp
uSNChanged                           : 16446
uSNCreated                           : 16425
whenChanged                          : 2021/01/10 16:07:12
whenCreated                          : 2021/01/10 16:00:28

―――――――――――――

タイトルとURLをコピーしました