Categories

Attributes returned by the cmdlets

A question on the forum about the default properties returned by Get-ADUser started me thinking about the differences between the Microsoft cmdlets and the Quest cmdlets.

So for starters the default display:

Get-ADUser richard
Get-QADUser richard

Get-AdUser Get-QADUser
DistinguishedName DN
Enabled  
GivenName  
Name Name
ObjectClass Type
ObjectGUID  
SamAccountName  
SID  
Surname  
UserPrincipalName  

The full set of attributes returned by default

Get-ADUser richard | fl *   Get-QADUser richard | fl *
DistinguishedName   objectClass
Enabled   objectSid
GivenName   givenName
Name   whenCreated
ObjectClass   objectGUID
ObjectGUID   whenChanged
SamAccountName   l
SID   mail
Surname   edsvaNamingContextDN
UserPrincipalName   facsimileTelephoneNumber
PropertyNames   sn
PropertyCount   mobile
    physicalDeliveryOfficeName
    telephoneNumber
    st
    wWWHomePage
    City
    Company
    Department
    Email
    Fax
    FirstName
    HomePhone
    Initials
    LastName
    LogonName
    Manager
    MobilePhone
    Office
    Pager
    PhoneNumber
    PostalCode
    PostOfficeBox
    PrimaryGroupId
    StateOrProvince
    StreetAddress
    Title
    WebPage
    HomeDirectory
    HomeDrive
    ProfilePath
    LogonScript
    UserPrincipalName
    TsProfilePath
    TsHomeDirectory
    TsHomeDrive
    TsAllowLogon
    TsRemoteControl
    TsMaxDisconnectionTime
    TsMaxConnectionTime
    TsMaxIdleTime
    TsReconnectionAction
    TsBrokenConnectionAction
    TsConnectClientDrives
    TsConnectPrinterDrives
    TsDefaultToMainPrinter
    TsWorkDirectory
    TsInitialProgram
    AccountExpires
    PasswordLastSet
    PasswordAge
    PasswordExpires
    LastLogonTimestamp
    LastLogon
    LastLogoff
    AccountIsDisabled
    AccountIsLockedOut
    PasswordNeverExpires
    UserMustChangePassword
    AccountIsExpired
    PasswordIsExpired
    AccountExpirationStatus
    PasswordStatus
    DeprovisionStatus
    NTAccountName
    SamAccountName
    Security
    Domain
    LastKnownParent
    MemberOf
    NestedMemberOf
    Notes
    AllMemberOf
    Keywords
    ProxyAddresses
    PrimarySMTPAddress
    PrimarySMTPAddressPrefix
    PrimarySMTPAddressSuffix
    PrimaryX400Address
    PrimaryMSMailAddress
    PrimaryCCMailAddress
    PrimaryMacMailAddress
    PrimaryLotusNotesAddress
    PrimaryGroupWiseAddress
    EmailAddressPolicyEnabled
    Path
    DN
    CanonicalName
    CreationDate
    ModificationDate
    ParentContainer
    ParentContainerDN
    Name
    ClassName
    Type
    Guid
    Sid
    Description
    DisplayName
    OperationID
    OperationStatus
    Cache
    Connection
    DirectoryEntry

Now we go for everything:

Get-ADUser richard -Properties *
Get-QADUser richard -IncludeAllProperties | fl *

Get-ADUser richard -Properties *
Get-QADUser richard -IncludeAllProperties | fl *
AccountExpirationDate msExchPoliciesIncluded
accountExpires msExchMailboxSecurityDescriptor
AccountLockoutTime msDS-UserPasswordExpiryTimeComputed
AccountNotDelegated allowedAttributesEffective
adminCount msDS-ReplAttributeMetaData
AllowReversiblePasswordEncryption adminCount
BadLogonCount givenName
badPasswordTime mDBUseDefaults
badPwdCount msExchVersion
c tokenGroupsNoGCAcceptable
CannotChangePassword codePage
CanonicalName countryCode
Certificates sDRightsEffective
City legacyExchangeDN
CN instanceType
codePage whenChanged
Company modifyTimeStamp
Country structuralObjectClass
countryCode homeMTA
Created msDS-ReplValueMetaData
createTimeStamp uSNCreated
Deleted msExchHomeServerName
Department dSCorePropagationData
Description pwdLastSet
DisplayName uSNChanged
DistinguishedName whenCreated
Division l
DoesNotRequirePreAuth msDS-Approx-Immed-Subordinates
dSCorePropagationData distinguishedName
EmailAddress mailNickname
EmployeeID msExchRecipientTypeDetails
EmployeeNumber replPropertyMetaData
Enabled msDS-RevealedListBL
Fax msExchRecipientDisplayType
GivenName sAMAccountType
HomeDirectory servicePrincipalName
HomedirRequired badPwdCount
HomeDrive msExchMailboxGuid
homeMDB objectSid
homeMTA objectClass
HomePage allowedChildClasses
HomePhone tokenGroups
Initials msExchUserAccountControl
instanceType msDS-User-Account-Control-Computed
isDeleted cn
l objectGUID
LastBadPasswordAttempt protocolSettings
LastKnownParent badPasswordTime
lastLogon allowedAttributes
LastLogonDate msDS-KeyVersionNumber
lastLogonTimestamp fromEntry
legacyExchangeDN createTimeStamp
LockedOut lockoutTime
lockoutTime logonCount
logonCount mail
LogonWorkstations homeMDB
mail tokenGroupsGlobalAndUniversal
mailNickname objectCategory
Manager msDS-PrincipalName
mDBUseDefaults subSchemaSubEntry
MemberOf msExchUserCulture
MNSLogonAccount showInAddressBook
MobilePhone userAccountControl
Modified c
modifyTimeStamp nTSecurityDescriptor
msDS-User-Account-Control-Computed accountNameHistory
msExchHomeServerName aCSPolicyName
msExchMailboxGuid adminDescription
msExchMailboxSecurityDescriptor adminDisplayName
msExchPoliciesIncluded allowedChildClassesEffective
msExchRecipientDisplayType altRecipient
msExchRecipientTypeDetails altRecipientBL
msExchUserAccountControl altSecurityIdentities
msExchUserCulture assistant
msExchVersion attributeCertificate
Name attributeCertificateAttribute
nTSecurityDescriptor audio
ObjectCategory authOrig
ObjectClass authOrigBL
ObjectGUID autoReply
objectSid autoReplyMessage
Office bridgeheadServerListBL
OfficePhone businessCategory
Organization businessRoles
OtherName carLicense
PasswordExpired co
PasswordLastSet comment
PasswordNeverExpires controlAccessRights
PasswordNotRequired dBCSPwd
POBox defaultClassStore
PostalCode deletedItemFlags
PrimaryGroup delivContLength
primaryGroupID deliverAndRedirect
ProfilePath deliveryMechanism
ProtectedFromAccidentalDeletion delivExtContTypes
protocolSettings departmentNumber
proxyAddresses desktopProfile
pwdLastSet destinationIndicator
SamAccountName directReports
sAMAccountType displayNamePrintable
ScriptPath division
sDRightsEffective dLMemDefault
servicePrincipalName dLMemRejectPerms
ServicePrincipalNames dLMemRejectPermsBL
showInAddressBook dLMemSubmitPerms
SID dLMemSubmitPermsBL
SIDHistory dnQualifier
SmartcardLogonRequired dSASignature
State dynamicLDAPServer
StreetAddress employeeID
Surname employeeNumber
Title employeeType
TrustedForDelegation enabledProtocols
TrustedToAuthForDelegation expirationTime
UseDESKeyOnly extensionAttribute1
userAccountControl extensionAttribute10
userCertificate extensionAttribute11
UserPrincipalName extensionAttribute12
uSNChanged extensionAttribute13
uSNCreated extensionAttribute14
whenChanged extensionAttribute15
whenCreated extensionAttribute2
  extensionAttribute3
  extensionAttribute4
  extensionAttribute5
  extensionAttribute6
  extensionAttribute7
  extensionAttribute8
  extensionAttribute9
  extensionData
  extensionName
  facsimileTelephoneNumber
  flags
  folderPathname
  formData
  forwardingAddress
  frsComputerReferenceBL
  fRSMemberReferenceBL
  fSMORoleOwner
  garbageCollPeriod
  gecos
  generationQualifier
  gidNumber
  groupMembershipSAM
  groupPriority
  groupsToIgnore
  heuristics
  homePostalAddress
  houseIdentifier
  importedFrom
  info
  internationalISDNNumber
  internetEncoding
  ipPhone
  isCriticalSystemObject
  isDeleted
  isPrivilegeHolder
  isRecycled
  jpegPhoto
  kMServer
  labeledURI
  language
  languageCode
  lmPwdHistory
  localeID
  loginShell
  logonHours
  logonWorkstation
  managedObjects
  mAPIRecipient
  masteredBy
  maxStorage
  mDBOverHardQuotaLimit
  mDBOverQuotaLimit
  mDBStorageQuota
  mhsORAddress
  middleName
  mobile
  mS-DS-ConsistencyChildCount
  mS-DS-ConsistencyGuid
  mS-DS-CreatorSID
  msCOM-PartitionSetLink
  msCOM-UserLink
  msCOM-UserPartitionSetLink
  msDFSR-ComputerReferenceBL
  msDFSR-MemberReferenceBL
  msDRM-IdentityCertificate
  msDS-AllowedToDelegateTo
  msDS-AuthenticatedAtDC
  msDS-AuthenticatedToAccountlist
  msDS-Cached-Membership
  msDS-Cached-Membership-Time-Stamp
  msDS-EnabledFeatureBL
  msDS-FailedInteractiveLogonCount
  msDS-FailedInteractiveLogonCountAtLastSuccessfulLogon
  msDS-HABSeniorityIndex
  msDS-HostServiceAccountBL
  msDS-IsDomainFor
  msDS-IsFullReplicaFor
  msDS-IsPartialReplicaFor
  msDS-KrbTgtLinkBl
  msDS-LastFailedInteractiveLogonTime
  msDS-LastKnownRDN
  msDS-LastSuccessfulInteractiveLogonTime
  msDS-LocalEffectiveDeletionTime
  msDS-LocalEffectiveRecycleTime
  msDs-masteredBy
  msDS-MembersForAzRoleBL
  msDS-NC-RO-Replica-Locations-BL
  msDS-NCReplCursors
  msDS-NCReplInboundNeighbors
  msDS-NCReplOutboundNeighbors
  msDS-NcType
  msDS-NonMembersBL
  msDS-ObjectReferenceBL
  msDS-OIDToGroupLinkBl
  msDS-OperationsForAzRoleBL
  msDS-OperationsForAzTaskBL
  msDS-PhoneticCompanyName
  msDS-PhoneticDepartment
  msDS-PhoneticDisplayName
  msDS-PhoneticFirstName
  msDS-PhoneticLastName
  msDS-PSOApplied
  msDS-ResultantPSO
  msDS-RevealedDSAs
  msDS-SecondaryKrbTgtNumber
  msDS-Site-Affinity
  msDS-SourceObjectDN
  msDS-SupportedEncryptionTypes
  msDS-TasksForAzRoleBL
  msDS-TasksForAzTaskBL
  msExchADCGlobalNames
  msExchAggregationSubscriptionCredential
  msExchALObjectVersion
  msExchAlternateMailboxes
  msExchApprovalApplicationLink
  msExchArbitrationMailbox
  msExchArchiveDatabaseBL
  msExchArchiveDatabaseLink
  msExchArchiveGUID
  msExchArchiveName
  msExchArchiveQuota
  msExchArchiveWarnQuota
  msExchAssistantName
  msExchAvailabilityOrgWideAccountBL
  msExchAvailabilityPerUserAccountBL
  msExchBlockedSendersHash
  msExchBypassModerationBL
  msExchBypassModerationFromDLMembersBL
  msExchBypassModerationFromDLMembersLink
  msExchBypassModerationLink
  msExchCalendarRepairDisabled
  msExchCoManagedObjectsBL
  msExchConferenceMailboxBL
  msExchConfigurationUnitBL
  msExchContentConversionSettings
  msExchControllingZone
  msExchCU
  msExchCustomProxyAddresses
  msExchDelegateListBL
  msExchDelegateListLink
  msExchDeviceAccessControlRuleBL
  msExchDirsyncID
  msExchDumpsterQuota
  msExchDumpsterWarningQuota
  msExchEdgeSyncCookies
  msExchEdgeSyncRetryCount
  msExchEdgeSyncSourceGuid
  msExchELCExpirySuspensionEnd
  msExchELCExpirySuspensionStart
  msExchELCMailboxFlags
  msExchEnableModeration
  msExchExpansionServerName
  msExchExternalOOFOptions
  msExchExternalSyncState
  msExchFBURL
  msExchForeignGroupSID
  msExchHABShowInDepartments
  msExchHideFromAddressLists
  msExchHouseIdentifier
  msExchIMACL
  msExchIMAddress
  msExchIMAP4Settings
  msExchIMAPOWAURLPrefixOverride
  msExchIMMetaPhysicalURL
  msExchImmutableId
  msExchIMPhysicalURL
  msExchIMVirtualServer
  msExchInconsistentState
  msExchIntendedMailboxPlanBL
  msExchIntendedMailboxPlanLink
  msExchLabeledURI
  msExchLicenseToken
  msExchMailboxFolderSet
  msExchMailboxMoveBatchName
  msExchMailboxMoveFlags
  msExchMailboxMoveRemoteHostName
  msExchMailboxMoveSourceMDBBL
  msExchMailboxMoveSourceMDBLink
  msExchMailboxMoveStatus
  msExchMailboxMoveTargetMDBBL
  msExchMailboxMoveTargetMDBLink
  msExchMailboxOABVirtualDirectoriesLink
  msExchMailboxPlanType
  msExchMailboxTemplateLink
  msExchMailboxUrl
  msExchManagementSettings
  msExchMasterAccountSid
  msExchMaxBlockedSenders
  msExchMaxSafeSenders
  msExchMDBRulesQuota
  msExchMessageHygieneFlags
  msExchMessageHygieneSCLDeleteThreshold
  msExchMessageHygieneSCLJunkThreshold
  msExchMessageHygieneSCLQuarantineThreshold
  msExchMessageHygieneSCLRejectThreshold
  msExchMobileAllowedDeviceIDs
  msExchMobileBlockedDeviceIDs
  msExchMobileDebugLogging
  msExchMobileMailboxFlags
  msExchMobileMailboxPolicyLink
  msExchMobileRemoteDocumentsAllowedServersBL
  msExchMobileRemoteDocumentsBlockedServersBL
  msExchMobileRemoteDocumentsInternalDomainSuffixListBL
  msExchMobileSettings
  msExchModeratedByLink
  msExchModeratedObjectsBL
  msExchModerationFlags
  msExchObjectCountQuota
  msExchObjectID
  msExchOmaAdminExtendedSettings
  msExchOmaAdminWirelessEnable
  msExchOrganizationsAddressBookRootsBL
  msExchOrganizationsGlobalAddressListsBL
  msExchOrganizationsTemplateRootsBL
  msExchOriginatingForest
  msExchOURoot
  msExchOWAAllowedFileTypesBL
  msExchOWAAllowedMimeTypesBL
  msExchOWABlockedFileTypesBL
  msExchOWABlockedMIMETypesBL
  msExchOWAForceSaveFileTypesBL
  msExchOWAForceSaveMIMETypesBL
  msExchOWAPolicy
  msExchOWARemoteDocumentsAllowedServersBL
  msExchOWARemoteDocumentsBlockedServersBL
  msExchOWARemoteDocumentsInternalDomainSuffixListBL
  msExchOWASettings
  msExchOWATranscodingFileTypesBL
  msExchOWATranscodingMimeTypesBL
  msExchParentPlanBL
  msExchParentPlanLink
  msExchPfRootUrl
  msExchPoliciesExcluded
  msExchPolicyEnabled
  msExchPolicyOptionList
  msExchPOP3Settings
  msExchPreviousAccountSid
  msExchPreviousHomeMDB
  msExchProvisioningFlags
  msExchProxyCustomProxy
  msExchQueryBaseDN
  msExchRBACPolicyBL
  msExchRBACPolicyLink
  msExchRecipientValidatorCookies
  msExchRecipLimit
  msExchRequireAuthToSendTo
  msExchResourceCapacity
  msExchResourceDisplay
  msExchResourceGUID
  msExchResourceMetaData
  msExchResourceProperties
  msExchResourceSearchProperties
  msExchRetentionComment
  msExchRetentionURL
  msExchRMSComputerAccountsBL
  msExchRMSComputerAccountsLink
  msExchSafeRecipientsHash
  msExchSafeSendersHash
  msExchSendAsAddresses
  msExchSenderHintTranslations
  msExchServerAssociationBL
  msExchServerAssociationLink
  msExchServerSiteBL
  msExchSetupStatus
  msExchSharingPartnerIdentities
  msExchSharingPolicyLink
  msExchSignupAddresses
  msExchSMTPReceiveDefaultAcceptedDomainBL
  msExchSupervisionDLBL
  msExchSupervisionDLLink
  msExchSupervisionOneOffBL
  msExchSupervisionOneOffLink
  msExchSupervisionUserBL
  msExchSupervisionUserLink
  msExchSyncAccountsPolicyDN
  msExchTextMessagingState
  msExchThrottlingPolicyDN
  msExchTransportInboundSettings
  msExchTransportOutboundSettings
  msExchTransportRecipientSettingsFlags
  msExchTUIPassword
  msExchTUISpeed
  msExchTUIVolume
  msExchUMAddresses
  msExchUMAudioCodec
  msExchUMAudioCodec2
  msExchUMCallingLineIDs
  msExchUMDtmfMap
  msExchUMEnabledFlags
  msExchUMEnabledFlags2
  msExchUMFaxId
  msExchUMListInDirectorySearch
  msExchUMMailboxOVALanguage
  msExchUMMaxGreetingDuration
  msExchUMOperatorNumber
  msExchUMPhoneProvider
  msExchUMPinChecksum
  msExchUMRecipientDialPlanLink
  msExchUMServerWritableFlags
  msExchUMSpokenName
  msExchUMTemplateLink
  msExchUnmergedAttsPt
  msExchUseOAB
  msExchUserBL
  msExchVoiceMailboxID
  msExchWindowsLiveID
  msIIS-FTPDir
  msIIS-FTPRoot
  mSMQDigests
  mSMQDigestsMig
  mSMQSignCertificates
  mSMQSignCertificatesMig
  msNPAllowDialin
  msNPCallingStationID
  msNPSavedCallingStationID
  msPKI-CredentialRoamingTokens
  msPKIAccountCredentials
  msPKIDPAPIMasterKeys
  msPKIRoamingTimeStamp
  msRADIUS-FramedInterfaceId
  msRADIUS-FramedIpv6Prefix
  msRADIUS-FramedIpv6Route
  msRADIUS-SavedFramedInterfaceId
  msRADIUS-SavedFramedIpv6Prefix
  msRADIUS-SavedFramedIpv6Route
  msRADIUSCallbackNumber
  msRADIUSFramedIPAddress
  msRADIUSFramedRoute
  msRADIUSServiceType
  msRASSavedCallbackNumber
  msRASSavedFramedIPAddress
  msRASSavedFramedRoute
  msSFU30Name
  msSFU30NisDomain
  msSFU30PosixMemberOf
  msTSAllowLogon
  msTSBrokenConnectionAction
  msTSConnectClientDrives
  msTSConnectPrinterDrives
  msTSDefaultToMainPrinter
  msTSExpireDate
  msTSExpireDate2
  msTSExpireDate3
  msTSExpireDate4
  msTSHomeDirectory
  msTSHomeDrive
  msTSInitialProgram
  msTSLicenseVersion
  msTSLicenseVersion2
  msTSLicenseVersion3
  msTSLicenseVersion4
  msTSLSProperty01
  msTSLSProperty02
  msTSManagingLS
  msTSManagingLS2
  msTSManagingLS3
  msTSManagingLS4
  msTSMaxConnectionTime
  msTSMaxDisconnectionTime
  msTSMaxIdleTime
  msTSPrimaryDesktop
  msTSProfilePath
  msTSProperty01
  msTSProperty02
  msTSReconnectionAction
  msTSRemoteControl
  msTSSecondaryDesktops
  msTSWorkDirectory
  netbootSCPBL
  networkAddress
  nonSecurityMemberBL
  ntPwdHistory
  o
  objectVersion
  operatorCount
  otherFacsimileTelephoneNumber
  otherHomePhone
  otherIpPhone
  otherLoginWorkstations
  otherMailbox
  otherMobile
  otherPager
  otherTelephone
  otherWellKnownObjects
  ou
  ownerBL
  partialAttributeDeletionList
  partialAttributeSet
  personalPager
  personalTitle
  photo
  physicalDeliveryOfficeName
  pOPCharacterSet
  pOPContentFormat
  possibleInferiors
  postalAddress
  preferredDeliveryMethod
  preferredLanguage
  preferredOU
  primaryInternationalISDNNumber
  primaryTelexNumber
  proxiedObjectName
  publicDelegates
  publicDelegatesBL
  queryPolicyBL
  registeredAddress
  replicatedObjectVersion
  replicationSensitivity
  replicationSignature
  replUpToDateVector
  repsFrom
  repsTo
  revision
  rid
  roomNumber
  scriptPath
  secretary
  securityIdentifier
  securityProtocol
  seeAlso
  serialNumber
  serverReferenceBL
  shadowExpire
  shadowFlag
  shadowInactive
  shadowLastChange
  shadowMax
  shadowMin
  shadowWarning
  showInAdvancedViewOnly
  sIDHistory
  siteObjectBL
  sn
  st
  street
  submissionContLength
  subRefs
  supplementalCredentials
  supportedAlgorithms
  systemFlags
  targetAddress
  telephoneAssistant
  telephoneNumber
  teletexTerminalIdentifier
  telexNumber
  terminalServer
  textEncodedORAddress
  thumbnailLogo
  thumbnailPhoto
  uid
  uidNumber
  unauthOrig
  unauthOrigBL
  unicodePwd
  unixHomeDirectory
  unixUserPassword
  unmergedAtts
  url
  userCert
  userCertificate
  userParameters
  userPassword
  userPKCS12
  userSharedFolder
  userSharedFolderOther
  userSMIMECertificate
  userWorkstations
  uSNDSALastObjRemoved
  USNIntersite
  uSNLastObjRem
  uSNSource
  versionNumber
  wbemPath
  wellKnownObjects
  wWWHomePage
  x121Address
  x500uniqueIdentifier
  City
  Company
  Department
  Email
  Fax
  FirstName
  HomePhone
  Initials
  LastName
  LogonName
  Manager
  MobilePhone
  Office
  Pager
  PhoneNumber
  PostalCode
  PostOfficeBox
  PrimaryGroupId
  StateOrProvince
  StreetAddress
  Title
  WebPage
  HomeDirectory
  HomeDrive
  ProfilePath
  LogonScript
  UserPrincipalName
  TsProfilePath
  TsHomeDirectory
  TsHomeDrive
  TsAllowLogon
  TsRemoteControl
  TsMaxDisconnectionTime
  TsMaxConnectionTime
  TsMaxIdleTime
  TsReconnectionAction
  TsBrokenConnectionAction
  TsConnectClientDrives
  TsConnectPrinterDrives
  TsDefaultToMainPrinter
  TsWorkDirectory
  TsInitialProgram
  AccountExpires
  PasswordLastSet
  PasswordAge
  PasswordExpires
  LastLogonTimestamp
  LastLogon
  LastLogoff
  AccountIsDisabled
  AccountIsLockedOut
  PasswordNeverExpires
  UserMustChangePassword
  AccountIsExpired
  PasswordIsExpired
  AccountExpirationStatus
  PasswordStatus
  DeprovisionStatus
  NTAccountName
  SamAccountName
  Security
  Domain
  LastKnownParent
  MemberOf
  NestedMemberOf
  Notes
  AllMemberOf
  Keywords
  ProxyAddresses
  PrimarySMTPAddress
  PrimarySMTPAddressPrefix
  PrimarySMTPAddressSuffix
  PrimaryX400Address
  PrimaryMSMailAddress
  PrimaryCCMailAddress
  PrimaryMacMailAddress
  PrimaryLotusNotesAddress
  PrimaryGroupWiseAddress
  EmailAddressPolicyEnabled
  Path
  DN
  CanonicalName
  CreationDate
  ModificationDate
  ParentContainer
  ParentContainerDN
  Name
  ClassName
  Type
  Guid
  Sid
  Description
  DisplayName
  OperationID
  OperationStatus
  Cache
  Connection
  DirectoryEntry

Also remember that because an attribute is given in the list it doesn’t mean that it will have a value!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>