AD 域获取域计算机信息:Get-ADComputer

概览信息

Get-ADComputer -Identity S2MQT22HH7N


DistinguishedName : CN=S2MQT22HH7N,CN=Computers,DC=hw,DC=net
DNSHostName       : S2MQT22HH7N.hxx.tt
Enabled           : True
Name              : S2MQT22HH7N
ObjectClass       : computer
ObjectGUID        : 8c224308-eaa1-4108-9d91-53eb2850c518
SamAccountName    : S2MQT22HH7N$
SID               : S-1-5-21-1306548705-3882769175-3968532004-15735
UserPrincipalName :

所有属性

Get-ADComputer -Identity S2MQT22HH7N -Properties *


AccountExpirationDate                :
accountExpires                       : 9223372036854775807
AccountLockoutTime                   :
AccountNotDelegated                  : False
AllowReversiblePasswordEncryption    : False
AuthenticationPolicy                 : {}
AuthenticationPolicySilo             : {}
BadLogonCount                        : 0
badPasswordTime                      : 0
badPwdCount                          : 0
CannotChangePassword                 : False
CanonicalName                        : hxx.tt/Computers/S2MQT22HH7N
Certificates                         : {}
CN                                   : S2MQT22HH7N
codePage                             : 0
CompoundIdentitySupported            : {False}
countryCode                          : 0
Created                              : 2021/10/13 周三 19:37:32
createTimeStamp                      : 2021/10/13 周三 19:37:32
Deleted                              :
Description                          :
DisplayName                          :
DistinguishedName                    : CN=S2MQT22HH7N,CN=Computers,DC=hw,DC=net
DNSHostName                          : S2MQT22HH7N.hxx.tt
DoesNotRequirePreAuth                : False
dSCorePropagationData                : {1601/1/1 周一 8:00:00}
Enabled                              : True
HomedirRequired                      : False
HomePage                             :
instanceType                         : 4
IPv4Address                          : 10.1.4.224
IPv6Address                          :
isCriticalSystemObject               : False
isDeleted                            :
KerberosEncryptionType               : {RC4, AES128, AES256}
LastBadPasswordAttempt               :
LastKnownParent                      :
lastLogoff                           : 0
lastLogon                            : 132798946842410319
LastLogonDate                        : 2021/10/25 周一 11:38:10
lastLogonTimestamp                   : 132796066900134044
localPolicyFlags                     : 0
Location                             :
LockedOut                            : False
logonCount                           : 33
ManagedBy                            :
MemberOf                             : {}
MNSLogonAccount                      : False
Modified                             : 2021/10/25 周一 11:38:23
modifyTimeStamp                      : 2021/10/25 周一 11:38:23
mS-DS-CreatorSID                     : S-1-5-21-1306548705-3882769175-3968532004-14040
msDS-SupportedEncryptionTypes        : 28
msDS-User-Account-Control-Computed   : 0
Name                                 : S2MQT22HH7N
nTSecurityDescriptor                 : System.DirectoryServices.ActiveDirectorySecurity
ObjectCategory                       : CN=Computer,CN=Schema,CN=Configuration,DC=hw,DC=net
ObjectClass                          : computer
ObjectGUID                           : 8c224308-eaa1-4108-9d91-53eb2850c518
objectSid                            : S-1-5-21-1306548705-3882769175-3968532004-15735
OperatingSystem                      : Windows Server 2022 Standard
OperatingSystemHotfix                :
OperatingSystemServicePack           :
OperatingSystemVersion               : 10.0 (20348)
PasswordExpired                      : False
PasswordLastSet                      : 2021/10/13 周三 19:37:32
PasswordNeverExpires                 : False
PasswordNotRequired                  : False
PrimaryGroup                         : CN=Domain Computers,CN=Users,DC=hw,DC=net
primaryGroupID                       : 515
PrincipalsAllowedToDelegateToAccount : {}
ProtectedFromAccidentalDeletion      : False
pwdLastSet                           : 132785986526015056
SamAccountName                       : S2MQT22HH7N$
sAMAccountType                       : 805306369
sDRightsEffective                    : 0
ServiceAccount                       : {}
servicePrincipalName                 : {Dfsr-12F9A27C-BF97-4787-9364-D31B6C55EB04/S2MQT22HH7N.hxx.tt, WSMAN/S2MQT22HH7N, WSMAN/S2MQT22HH7N.hxx.tt, RestrictedKrb
                                       Host/S2MQT22HH7N...}
ServicePrincipalNames                : {Dfsr-12F9A27C-BF97-4787-9364-D31B6C55EB04/S2MQT22HH7N.hxx.tt, WSMAN/S2MQT22HH7N, WSMAN/S2MQT22HH7N.hxx.tt, RestrictedKrb
                                       Host/S2MQT22HH7N...}
SID                                  : S-1-5-21-1306548705-3882769175-3968532004-15735
SIDHistory                           : {}
TrustedForDelegation                 : False
TrustedToAuthForDelegation           : False
UseDESKeyOnly                        : False
userAccountControl                   : 4096
userCertificate                      : {}
UserPrincipalName                    :
uSNChanged                           : 514178447
uSNCreated                           : 509016127
whenChanged                          : 2021/10/25 周一 11:38:23
whenCreated                          : 2021/10/13 周三 19:37:32

筛选属性

Get-ADComputer -Filter 'Name -like "S2MQT22HH7N"' -Properties IPv4Address | FT Name,DNSHostName,IPv4Address -A

Name        DNSHostName        IPv4Address
----        -----------        -----------
S2MQT22HH7N S2MQT22HH7N.hxx.tt 10.1.4.224

0 条评论

昵称

沙发空缺中,还不快抢~