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-ADUser -Identity User001 -Properties *



AccountExpirationDate                :

accountExpires                       : 9223372036854775807

AccountLockoutTime                   :

AccountNotDelegated                  : False

AllowReversiblePasswordEncryption    : False

AuthenticationPolicy                 : {}

AuthenticationPolicySilo             : {}

BadLogonCount                        : 0

badPasswordTime                      : 0

badPwdCount                          : 0

c                                    : IN

CannotChangePassword                 : True

CanonicalName                        : rs.local/GLOBAL/INDIA/NOIDA/User 001

Certificates                         : {}

City                                 : Greater Noida West

CN                                   : User 001

co                                   : India

codePage                             : 0

Company                              : RS

CompoundIdentitySupported            : {}

Country                              : IN

countryCode                          : 356

Created                              : 12-10-2024 08:42:02

createTimeStamp                      : 12-10-2024 08:42:02

Deleted                              :

Department                           : HR

Description                          : This user belongs to HR Dept.

DisplayName                          : User 001

DistinguishedName                    : CN=User 001,OU=NOIDA,OU=INDIA,OU=GLOBAL,DC=rs,DC=local

Division                             :

DoesNotRequirePreAuth                : False

dSCorePropagationData                : {17-10-2024 08:09:27, 12-10-2024 10:33:45, 12-10-2024 08:42:02, 01-01-1601

                                       05:34:16}

EmailAddress                         : User001@rs.com

EmployeeID                           :

EmployeeNumber                       :

Enabled                              : True

Fax                                  :

GivenName                            : User 001

HomeDirectory                        :

HomedirRequired                      : False

HomeDrive                            :

HomePage                             : https://rs.com

HomePhone                            :

Initials                             : U

instanceType                         : 4

isDeleted                            :

KerberosEncryptionType               : {}

l                                    : Greater Noida West

LastBadPasswordAttempt               :

LastKnownParent                      :

lastLogoff                           : 0

lastLogon                            : 133732634547765419

LastLogonDate                        : 12-10-2024 08:53:39

lastLogonTimestamp                   : 133731770198019752

LockedOut                            : False

logonCount                           : 11

LogonWorkstations                    :

mail                                 : User001@rs.com

Manager                              : CN=Administrator,CN=Users,DC=rs,DC=local

MemberOf                             : {}

MNSLogonAccount                      : False

MobilePhone                          :

Modified                             : 16-11-2024 22:49:36

modifyTimeStamp                      : 16-11-2024 22:49:36

msDS-User-Account-Control-Computed   : 0

Name                                 : User 001

nTSecurityDescriptor                 : System.DirectoryServices.ActiveDirectorySecurity

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

ObjectClass                          : user

ObjectGUID                           : 00f153e0-c362-4887-81b6-dc4b36f17967

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

Office                               : Noida

OfficePhone                          : 1234567890

Organization                         :

OtherName                            :

PasswordExpired                      : False

PasswordLastSet                      : 12-10-2024 08:42:02

PasswordNeverExpires                 : True

PasswordNotRequired                  : False

physicalDeliveryOfficeName           : Noida

POBox                                : Surajpur HO

PostalCode                           : 210306

postOfficeBox                        : {Surajpur HO}

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

primaryGroupID                       : 513

PrincipalsAllowedToDelegateToAccount : {}

ProfilePath                          :

ProtectedFromAccidentalDeletion      : False

pwdLastSet                           : 133731763227649821

SamAccountName                       : user001

sAMAccountType                       : 805306368

ScriptPath                           :

sDRightsEffective                    : 15

ServicePrincipalNames                : {}

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

SIDHistory                           : {}

SmartcardLogonRequired               : False

st                                   : Uttar Pradesh

State                                : Uttar Pradesh

StreetAddress                        : My Office

Surname                              :

telephoneNumber                      : 1234567890

Title                                : Software Engineer

TrustedForDelegation                 : False

TrustedToAuthForDelegation           : False

UseDESKeyOnly                        : False

userAccountControl                   : 66048

userCertificate                      : {}

UserPrincipalName                    : user001@rs.local

uSNChanged                           : 81967

uSNCreated                           : 12781

whenChanged                          : 16-11-2024 22:49:36

whenCreated                          : 12-10-2024 08:42:02

wWWHomePage                          : https://rs.com







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