Search this site
Embedded Files
PowerShell
  • Home
  • Active Directory
    • Users
    • Computers
    • Groups
    • Service Account
    • OU
    • Object
    • Replication
    • Sites
  • AD Core Services
    • DNS Server
    • DNS Records
    • Group Policy
    • Windows Server
    • Event Viewer
    • DNS Record A
    • DHCP Server
  • Cmdlet
    • Get-Service
    • Get-ADGroup
    • Get-ADGroupMember
    • Output: Get-ADUser
    • Output: Get-ADComputer
  • Script
    • User & User's Group
    • Check Port using PowerShell
    • Get All GPO Permissions
    • Restore Object
    • Script to Get Users with Password Reset Rights
    • Find Lockout Events
    • OU Audit
  • URLs
    • Azure Links
  • Exam
    • Microsoft Certifications
    • SC-300
    • AZ-800
    • AZ-801
    • AZ-800 & AZ-801 YT
    • Active Directory
PowerShell
  • Home
  • Active Directory
    • Users
    • Computers
    • Groups
    • Service Account
    • OU
    • Object
    • Replication
    • Sites
  • AD Core Services
    • DNS Server
    • DNS Records
    • Group Policy
    • Windows Server
    • Event Viewer
    • DNS Record A
    • DHCP Server
  • Cmdlet
    • Get-Service
    • Get-ADGroup
    • Get-ADGroupMember
    • Output: Get-ADUser
    • Output: Get-ADComputer
  • Script
    • User & User's Group
    • Check Port using PowerShell
    • Get All GPO Permissions
    • Restore Object
    • Script to Get Users with Password Reset Rights
    • Find Lockout Events
    • OU Audit
  • URLs
    • Azure Links
  • Exam
    • Microsoft Certifications
    • SC-300
    • AZ-800
    • AZ-801
    • AZ-800 & AZ-801 YT
    • Active Directory
  • More
    • Home
    • Active Directory
      • Users
      • Computers
      • Groups
      • Service Account
      • OU
      • Object
      • Replication
      • Sites
    • AD Core Services
      • DNS Server
      • DNS Records
      • Group Policy
      • Windows Server
      • Event Viewer
      • DNS Record A
      • DHCP Server
    • Cmdlet
      • Get-Service
      • Get-ADGroup
      • Get-ADGroupMember
      • Output: Get-ADUser
      • Output: Get-ADComputer
    • Script
      • User & User's Group
      • Check Port using PowerShell
      • Get All GPO Permissions
      • Restore Object
      • Script to Get Users with Password Reset Rights
      • Find Lockout Events
      • OU Audit
    • URLs
      • Azure Links
    • Exam
      • Microsoft Certifications
      • SC-300
      • AZ-800
      • AZ-801
      • AZ-800 & AZ-801 YT
      • Active Directory

Get-ADUser | Get-ADComputer

PS C:\> Get-ADComputer -Identity "DC001" -Properties *



AccountExpirationDate                :

accountExpires                       : 9223372036854775807

AccountLockoutTime                   :

AccountNotDelegated                  : False

AllowReversiblePasswordEncryption    : False

AuthenticationPolicy                 : {}

AuthenticationPolicySilo             : {}

BadLogonCount                        : 0

badPasswordTime                      : 0

badPwdCount                          : 0

CannotChangePassword                 : False

CanonicalName                        : rs.local/Domain Controllers/DC001

Certificates                         : {}

CN                                   : DC001

codePage                             : 0

CompoundIdentitySupported            : {False}

countryCode                          : 0

Created                              : 12-10-2024 08:29:57

createTimeStamp                      : 12-10-2024 08:29:57

Deleted                              :

Description                          :

DisplayName                          :

DistinguishedName                    : CN=DC001,OU=Domain Controllers,DC=rs,DC=local

DNSHostName                          : DC001.rs.local

DoesNotRequirePreAuth                : False

dSCorePropagationData                : {12-10-2024 08:29:58, 01-01-1601 05:30:01}

Enabled                              : True

HomedirRequired                      : False

HomePage                             :

instanceType                         : 4

IPv4Address                          : 192.168.29.200

IPv6Address                          : ::1

isCriticalSystemObject               : True

isDeleted                            :

KerberosEncryptionType               : {RC4, AES128, AES256}

LastBadPasswordAttempt               :

LastKnownParent                      :

lastLogoff                           : 0

lastLogon                            : 133761187537559337

LastLogonDate                        : 10-11-2024 20:34:28

lastLogonTimestamp                   : 133757246684012564

localPolicyFlags                     : 0

Location                             :

LockedOut                            : False

logonCount                           : 87

ManagedBy                            :

MemberOf                             : {CN=gMSATaskS,OU=NOIDA,OU=INDIA,OU=GLOBAL,DC=rs,DC=local}

MNSLogonAccount                      : False

Modified                             : 12-11-2024 06:14:16

modifyTimeStamp                      : 12-11-2024 06:14:16

msDFSR-ComputerReferenceBL           : {CN=DC001,CN=Topology,CN=Domain System Volume,CN=DFSR-GlobalSettings,CN=System,DC=rs,DC=local}

msDS-GenerationId                    : {198, 173, 239, 48...}

msDS-SupportedEncryptionTypes        : 28

msDS-User-Account-Control-Computed   : 0

Name                                 : DC001

nTSecurityDescriptor                 : System.DirectoryServices.ActiveDirectorySecurity

ObjectCategory                       : CN=Computer,CN=Schema,CN=Configuration,DC=rs,DC=local

ObjectClass                          : computer

ObjectGUID                           : 0b75a2ac-29d8-4558-aae3-7e4e23ba7abb

objectSid                            : S-1-5-21-1853119505-3322575478-2931423564-1000

OperatingSystem                      : Windows Server 2016 Datacenter Evaluation

OperatingSystemHotfix                :

OperatingSystemServicePack           :

OperatingSystemVersion               : 10.0 (14393)

PasswordExpired                      : False

PasswordLastSet                      : 12-11-2024 06:14:16

PasswordNeverExpires                 : False

PasswordNotRequired                  : False

PrimaryGroup                         : CN=Domain Controllers,CN=Users,DC=rs,DC=local

primaryGroupID                       : 516

PrincipalsAllowedToDelegateToAccount : {}

ProtectedFromAccidentalDeletion      : False

pwdLastSet                           : 133758458562602712

rIDSetReferences                     : {CN=RID Set,CN=DC001,OU=Domain Controllers,DC=rs,DC=local}

SamAccountName                       : DC001$

sAMAccountType                       : 805306369

sDRightsEffective                    : 15

serverReferenceBL                    : {CN=DC001,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=rs,DC=local}

ServiceAccount                       : {}

servicePrincipalName                 : {Dfsr-12F9A27C-BF97-4787-9364-D31B6C55EB04/DC001.rs.local, ldap/DC001.rs.local/ForestDnsZones.rs.local, ldap/DC001.rs.local/DomainDnsZones.rs.local, TERMSRV/DC001...}

ServicePrincipalNames                : {Dfsr-12F9A27C-BF97-4787-9364-D31B6C55EB04/DC001.rs.local, ldap/DC001.rs.local/ForestDnsZones.rs.local, ldap/DC001.rs.local/DomainDnsZones.rs.local, TERMSRV/DC001...}

SID                                  : S-1-5-21-1853119505-3322575478-2931423564-1000

SIDHistory                           : {}

TrustedForDelegation                 : True

TrustedToAuthForDelegation           : False

UseDESKeyOnly                        : False

userAccountControl                   : 532480

userCertificate                      : {}

UserPrincipalName                    :

uSNChanged                           : 73784

uSNCreated                           : 12293

whenChanged                          : 12-11-2024 06:14:16

whenCreated                          : 12-10-2024 08:29:57









Useful Links
Active Directory     : TopicsActive Directory CLI :DNS, DHCP            :  Microsoft Entra ID   :AD Connect           : Install and Setup,Custom installation ADFS                 :Script Repository    : My OneDrivePowerShell Tutorial  : Download,Gallery,Useful ModulesAzure                : ExamVisual Studio Code   : TipsExcel                :
Copyright © 2026 Robotic Script 
Privacy Policy  |  Cookie Policy  |  Disclaimer
Disclaimer: All information and materials provided on this website are sourced from official Microsoft documentation and publicly available resources. The content is shared strictly for educational and informational purposes. This website is independent and not affiliated with, authorized, or endorsed by Microsoft Corporation.  
Google Sites
Report abuse
Google Sites
Report abuse