Tag: Active Directory

8 May 2021

Active Directory Attributes

accountExpiresaccountNameHistoryaCSPolicyNameadminCountadminDescriptionadminDisplayNameallowedAttributesallowedAttributesEffectiveallowedChildClassesallowedChildClassesEffectivealtRecipientaltRecipientBLaltSecurityIdentitiesassistantattributeCertificateattributeCertificateAttributeaudioauthOrigauthOrigBLautoReplyautoReplyMessagebadPasswordTimebadPwdCountbridgeheadServerListBLbusinessCategorybusinessRolesccanonicalNamecarLicensecncocodePagecommentcompanycontrolAccessRightscountryCodecreateTimeStampdBCSPwddefaultClassStoredeletedItemFlagsdelivContLengthdeliverAndRedirectdeliveryMechanismdelivExtContTypesdepartmentdepartmentNumberdescriptiondesktopProfiledestinationIndicatordirectReportsdisplayNamedisplayNamePrintabledistinguishedNamedivisiondLMemDefaultdLMemRejectPermsdLMemRejectPermsBLdLMemSubmitPermsdLMemSubmitPermsBLdnQualifierdSASignaturedSCorePropagationDatadynamicLDAPServeremployeeIDemployeeNumberemployeeTypeenabledProtocolsexpirationTimeextensionAttribute1extensionAttribute10extensionAttribute11extensionAttribute12extensionAttribute13extensionAttribute14extensionAttribute15extensionAttribute2extensionAttribute3extensionAttribute4extensionAttribute5extensionAttribute6extensionAttribute7extensionAttribute8extensionAttribute9extensionDataextensionNamefacsimileTelephoneNumberflagsfolderPathnameformDataforwardingAddressfromEntryfrsComputerReferenceBLfRSMemberReferenceBLfSMORoleOwnergarbageCollPeriodgecosgenerationQualifiergidNumbergivenNamegroupMembershipSAMgroupPrioritygroupsToIgnoreheuristicshomeDirectoryhomeDrivehomeMDBhomeMTAhomePhonehomePostalAddresshouseIdentifierimportedFrominfoinitialsinstanceTypeinternationalISDNNumberinternetEncodingipPhoneisCriticalSystemObjectisDeletedisPrivilegeHolderisRecycledjpegPhotokMServerllabeledURIlanguagelanguageCodelastKnownParentlastLogofflastLogonlastLogonTimestamplegacyExchangeDNlmPwdHistorylocaleIDlockoutTimeloginShelllogonCountlogonHourslogonWorkstationmailmailNicknamemanagedObjectsmanagermAPIRecipientmasteredBymaxStoragemDBOverHardQuotaLimitmDBOverQuotaLimitmDBStorageQuotamDBUseDefaultsmemberOfmhsORAddressmiddleNamemobilemodifyTimeStampmsCOM-PartitionSetLinkmsCOM-UserLinkmsCOM-UserPartitionSetLinkmsDFSR-ComputerReferenceBLmsDFSR-MemberReferenceBLmsDRM-IdentityCertificatemsDS-AllowedToActOnBehalfOfOtherIdentitymsDS-AllowedToDelegateTomsDS-Approx-Immed-SubordinatesmsDS-AssignedAuthNPolicymsDS-AssignedAuthNPolicySilomsDS-AuthenticatedAtDCmsDS-AuthenticatedToAccountlistmsDS-AuthNPolicySiloMembersBLmsDS-Cached-MembershipmsDS-Cached-Membership-Time-StampmsDS-ClaimSharesPossibleValuesWithBLmsDS-CloudAnchormsDS-cloudExtensionAttribute1msDS-cloudExtensionAttribute10msDS-cloudExtensionAttribute11msDS-cloudExtensionAttribute12msDS-cloudExtensionAttribute13msDS-cloudExtensionAttribute14msDS-cloudExtensionAttribute15msDS-cloudExtensionAttribute16msDS-cloudExtensionAttribute17msDS-cloudExtensionAttribute18msDS-cloudExtensionAttribute19msDS-cloudExtensionAttribute2msDS-cloudExtensionAttribute20msDS-cloudExtensionAttribute3msDS-cloudExtensionAttribute4msDS-cloudExtensionAttribute5msDS-cloudExtensionAttribute6msDS-cloudExtensionAttribute7msDS-cloudExtensionAttribute8msDS-cloudExtensionAttribute9mS-DS-ConsistencyChildCountmS-DS-ConsistencyGuidmS-DS-CreatorSIDmsDS-EnabledFeatureBLmsDS-ExternalDirectoryObjectIdmsDS-FailedInteractiveLogonCountmsDS-FailedInteractiveLogonCountAtLastSuccessfulLogonmsDS-GeoCoordinatesAltitudemsDS-GeoCoordinatesLatitudemsDS-GeoCoordinatesLongitudemsDS-HABSeniorityIndexmsDS-HostServiceAccountBLmsDS-IsDomainFormsDS-IsFullReplicaFormsDS-IsPartialReplicaFormsDS-IsPrimaryComputerFormsDS-KeyCredentialLinkmsDS-KeyPrincipalBLmsDS-KeyVersionNumbermsDS-KrbTgtLinkBlmsDS-LastFailedInteractiveLogonTimemsDS-LastKnownRDNmsDS-LastSuccessfulInteractiveLogonTimemsDS-LocalEffectiveDeletionTimemsDS-LocalEffectiveRecycleTimemsDs-masteredBymsds-memberOfTransitivemsDS-MembersForAzRoleBLmsDS-MembersOfResourcePropertyListBLmsds-memberTransitivemsDS-NCReplCursorsmsDS-NCReplInboundNeighborsmsDS-NCReplOutboundNeighborsmsDS-NC-RO-Replica-Locations-BLmsDS-NcTypemsDS-NonMembersBLmsDS-ObjectReferenceBLmsDS-ObjectSoamsDS-OIDToGroupLinkBlmsDS-OperationsForAzRoleBLmsDS-OperationsForAzTaskBLmsDS-parentdistnamemsDS-PhoneticCompanyNamemsDS-PhoneticDepartmentmsDS-PhoneticDisplayNamemsDS-PhoneticFirstNamemsDS-PhoneticLastNamemsDS-PrimaryComputermsDS-PrincipalNamemsDS-PSOAppliedmsDS-ReplAttributeMetaDatamsDS-ReplValueMetaDatamsDS-ReplValueMetaDataExtmsDS-ResultantPSOmsDS-RevealedDSAsmsDS-RevealedListBLmsDS-SecondaryKrbTgtNumbermsDS-Site-AffinitymsDS-SourceAnchormsDS-SourceObjectDNmsDS-SupportedEncryptionTypesmsDS-SyncServerUrlmsDS-TasksForAzRoleBLmsDS-TasksForAzTaskBLmsDS-TDOEgressBLmsDS-TDOIngressBLmsds-tokenGroupNamesmsds-tokenGroupNamesGlobalAndUniversalmsds-tokenGroupNamesNoGCAcceptablemsDS-User-Account-Control-ComputedmsDS-UserPasswordExpiryTimeComputedmsDS-ValueTypeReferenceBLmsExchADCGlobalNamesmsExchAddressBookFlagsmsExchAggregationSubscriptionCredentialmsExchALObjectVersionmsExchAlternateMailboxesmsExchApprovalApplicationLinkmsExchArbitrationMailboxmsExchArchiveAddressmsExchArchiveDatabaseBLmsExchArchiveDatabaseLinkmsExchArchiveGUIDmsExchArchiveNamemsExchArchiveQuotamsExchArchiveStatusmsExchArchiveWarnQuotamsExchAssistantNamemsExchAuditAdminmsExchAuditDelegatemsExchAuditDelegateAdminmsExchAuditOwnermsExchAvailabilityOrgWideAccountBLmsExchAvailabilityPerUserAccountBLmsExchBlockedSendersHashmsExchBypassAuditmsExchBypassModerationBLmsExchBypassModerationFromDLMembersBLmsExchBypassModerationFromDLMembersLinkmsExchBypassModerationLinkmsExchCalculatedTargetAddressmsExchCalendarRepairDisabledmsExchCapabilityIdentifiersmsExchCoManagedObjectsBLmsExchConferenceMailboxBLmsExchConfigurationUnitBLmsExchContentConversionSettingsmsExchControllingZonemsExchCUmsExchCustomProxyAddressesmsExchDelegateListBLmsExchDelegateListLinkmsExchDeviceAccessControlRuleBLmsExchDirsyncIDmsExchDirsyncSourceObjectClassmsExchDisabledArchiveDatabaseLinkmsExchDisabledArchiveGUIDmsExchDumpsterQuotamsExchDumpsterWarningQuotamsExchEdgeSyncCookiesmsExchEdgeSyncRetryCountmsExchEdgeSyncSourceGuidmsExchELCExpirySuspensionEndmsExchELCExpirySuspensionStartmsExchELCMailboxFlagsmsExchEnableModerationmsExchEwsApplicationAccessPolicymsExchEwsEnabledmsExchEwsExceptionsmsExchEwsWellKnownApplicationPoliciesmsExchExpansionServerNamemsExchExternalDirectoryObjectIdmsExchExternalOOFOptionsmsExchExternalSyncStatemsExchFBURLmsExchForeignGroupSIDmsExchGenericForwardingAddressmsExchHABRootDepartmentBLmsExchHABShowInDepartmentsmsExchHideFromAddressListsmsExchHomeServerNamemsExchHouseIdentifiermsExchIMACLmsExchIMAddressmsExchIMAP4SettingsmsExchIMAPOWAURLPrefixOverridemsExchIMMetaPhysicalURLmsExchImmutableIdmsExchIMPhysicalURLmsExchIMVirtualServermsExchInconsistentStatemsExchIntendedMailboxPlanBLmsExchIntendedMailboxPlanLinkmsExchInterruptUserOnAuditFailuremsExchIsMSODirsyncedmsExchLabeledURImsExchLastExchangeChangedTimemsExchLicenseTokenmsExchLitigationHoldDatemsExchLitigationHoldOwnermsExchMailboxAuditEnablemsExchMailboxAuditLastAdminAccessmsExchMailboxAuditLastDelegateAccessmsExchMailboxAuditLastExternalAccessmsExchMailboxAuditLogAgeLimitmsExchMailboxFolderSetmsExchMailboxFolderSet2msExchMailboxGuidmsExchMailboxMoveBatchNamemsExchMailboxMoveFlagsmsExchMailboxMoveRemoteHostNamemsExchMailboxMoveSourceArchiveMDBBLmsExchMailboxMoveSourceArchiveMDBLinkmsExchMailboxMoveSourceMDBBLmsExchMailboxMoveSourceMDBLinkmsExchMailboxMoveSourceUserBLmsExchMailboxMoveStatusmsExchMailboxMoveStorageMDBBLmsExchMailboxMoveTargetArchiveMDBBLmsExchMailboxMoveTargetArchiveMDBLinkmsExchMailboxMoveTargetMDBBLmsExchMailboxMoveTargetMDBLinkmsExchMailboxMoveTargetUserBLmsExchMailboxOABVirtualDirectoriesLinkmsExchMailboxPlanTypemsExchMailboxSecurityDescriptormsExchMailboxTemplateLinkmsExchMailboxUrlmsExchManagementSettingsmsExchMasterAccountSidmsExchMaxBlockedSendersmsExchMaxSafeSendersmsExchMDBRulesQuotamsExchMessageHygieneFlagsmsExchMessageHygieneSCLDeleteThresholdmsExchMessageHygieneSCLJunkThresholdmsExchMessageHygieneSCLQuarantineThresholdmsExchMessageHygieneSCLRejectThresholdmsExchMobileAllowedDeviceIDsmsExchMobileBlockedDeviceIDsmsExchMobileDebugLoggingmsExchMobileMailboxFlagsmsExchMobileMailboxPolicyLinkmsExchMobileRemoteDocumentsAllowedServersBLmsExchMobileRemoteDocumentsBlockedServersBLmsExchMobileRemoteDocumentsInternalDomainSuffixListBLmsExchMobileSettingsmsExchModeratedByLinkmsExchModeratedObjectsBLmsExchModerationFlagsmsExchObjectCountQuotamsExchObjectIDmsExchOmaAdminExtendedSettingsmsExchOmaAdminWirelessEnablemsExchOnPremiseObjectGuidmsExchOrganizationsAddressBookRootsBLmsExchOrganizationsGlobalAddressListsBLmsExchOrganizationsTemplateRootsBLmsExchOriginatingForestmsExchOURootmsExchOWAAllowedFileTypesBLmsExchOWAAllowedMimeTypesBLmsExchOWABlockedFileTypesBLmsExchOWABlockedMIMETypesBLmsExchOWAForceSaveFileTypesBLmsExchOWAForceSaveMIMETypesBLmsExchOWAPolicymsExchOWARemoteDocumentsAllowedServersBLmsExchOWARemoteDocumentsBlockedServersBLmsExchOWARemoteDocumentsInternalDomainSuffixListBLmsExchOWASettingsmsExchOWATranscodingFileTypesBLmsExchOWATranscodingMimeTypesBLmsExchParentPlanBLmsExchParentPlanLinkmsExchPartnerGroupIDmsExchPfRootUrlmsExchPoliciesExcludedmsExchPoliciesIncludedmsExchPolicyEnabledmsExchPolicyOptionListmsExchPOP3SettingsmsExchPreviousAccountSidmsExchPreviousHomeMDBmsExchPreviousMailboxGuidmsExchProvisioningFlagsmsExchProxyCustomProxymsExchQueryBaseDNmsExchRBACPolicyBLmsExchRBACPolicyLinkmsExchRecipientDisplayTypemsExchRecipientTypeDetailsmsExchRecipientValidatorCookiesmsExchRecipLimitmsExchRemoteRecipientTypemsExchRequireAuthToSendTomsExchResourceCapacitymsExchResourceDisplaymsExchResourceGUIDmsExchResourceMetaDatamsExchResourcePropertiesmsExchResourceSearchPropertiesmsExchRetentionCommentmsExchRetentionURLmsExchRMSComputerAccountsBLmsExchRMSComputerAccountsLinkmsExchSafeRecipientsHashmsExchSafeSendersHashmsExchSendAsAddressesmsExchSenderHintTranslationsmsExchServerAssociationBLmsExchServerAssociationLinkmsExchServerSiteBLmsExchSetupStatusmsExchShadowAssistantNamemsExchShadowCmsExchShadowComsExchShadowCompanymsExchShadowCountryCodemsExchShadowDepartmentmsExchShadowDisplayNamemsExchShadowFacsimileTelephoneNumbermsExchShadowGivenNamemsExchShadowHomePhonemsExchShadowInfomsExchShadowInitialsmsExchShadowLmsExchShadowMailNicknamemsExchShadowManagerLinkmsExchShadowMobilemsExchShadowOtherFacsimileTelephonemsExchShadowOtherHomePhonemsExchShadowOtherTelephonemsExchShadowPagermsExchShadowPhysicalDeliveryOfficeNamemsExchShadowPostalCodemsExchShadowProxyAddressesmsExchShadowSnmsExchShadowStmsExchShadowStreetAddressmsExchShadowTelephoneAssistantmsExchShadowTelephoneNumbermsExchShadowTitlemsExchShadowWindowsLiveIDmsExchShadowWWWHomePagemsExchSharingAnonymousIdentitiesmsExchSharingPartnerIdentitiesmsExchSharingPolicyLinkmsExchSignupAddressesmsExchSMTPReceiveDefaultAcceptedDomainBLmsExchSupervisionDLBLmsExchSupervisionDLLinkmsExchSupervisionOneOffBLmsExchSupervisionOneOffLinkmsExchSupervisionUserBLmsExchSupervisionUserLinkmsExchSyncAccountsPolicyDNmsExchTextMessagingStatemsExchThrottlingPolicyDNmsExchTransportInboundSettingsmsExchTransportOutboundSettingsmsExchTransportRecipientSettingsFlagsmsExchTUIPasswordmsExchTUISpeedmsExchTUIVolumemsExchUCVoiceMailSettingsmsExchUMAddressesmsExchUMAudioCodecmsExchUMAudioCodec2msExchUMCallingLineIDsmsExchUMDtmfMapmsExchUMEnabledFlagsmsExchUMEnabledFlags2msExchUMFaxIdmsExchUMListInDirectorySearchmsExchUMMailboxOVALanguagemsExchUMMaxGreetingDurationmsExchUMOperatorNumbermsExchUMPhoneProvidermsExchUMPinChecksummsExchUMRecipientDialPlanLinkmsExchUMServerWritableFlagsmsExchUMSpokenNamemsExchUMTemplateLinkmsExchUnmergedAttsPtmsExchUsageLocationmsExchUseOABmsExchUserAccountControlmsExchUserBLmsExchUserCulturemsExchVersionmsExchVoiceMailboxIDmsExchWhenMailboxCreatedmsExchWindowsLiveIDmsIIS-FTPDirmsIIS-FTPRootmSMQDigestsmSMQDigestsMigmSMQSignCertificatesmSMQSignCertificatesMigmsNPAllowDialinmsNPCallingStationIDmsNPSavedCallingStationIDmsOrg-LeadersBLmsPKIAccountCredentialsmsPKI-CredentialRoamingTokensmsPKIDPAPIMasterKeysmsPKIRoamingTimeStampmsRADIUSCallbackNumbermsRADIUS-FramedInterfaceIdmsRADIUSFramedIPAddressmsRADIUS-FramedIpv6PrefixmsRADIUS-FramedIpv6RoutemsRADIUSFramedRoutemsRADIUS-SavedFramedInterfaceIdmsRADIUS-SavedFramedIpv6PrefixmsRADIUS-SavedFramedIpv6RoutemsRADIUSServiceTypemsRASSavedCallbackNumbermsRASSavedFramedIPAddressmsRASSavedFramedRoutemsSFU30NamemsSFU30NisDomainmsSFU30PosixMemberOfmsTSAllowLogonmsTSBrokenConnectionActionmsTSConnectClientDrivesmsTSConnectPrinterDrivesmsTSDefaultToMainPrintermsTSExpireDatemsTSExpireDate2msTSExpireDate3msTSExpireDate4msTSHomeDirectorymsTSHomeDrivemsTSInitialProgrammsTSLicenseVersionmsTSLicenseVersion2msTSLicenseVersion3msTSLicenseVersion4msTSLSProperty01msTSLSProperty02msTSManagingLSmsTSManagingLS2msTSManagingLS3msTSManagingLS4msTSMaxConnectionTimemsTSMaxDisconnectionTimemsTSMaxIdleTimemsTSPrimaryDesktopmsTSProfilePathmsTSProperty01msTSProperty02msTSReconnectionActionmsTSRemoteControlmsTSSecondaryDesktopsmsTSWorkDirectorynamenetbootSCPBLnetworkAddressnonSecurityMemberBLntPwdHistorynTSecurityDescriptoroobjectCategoryobjectClassobjectGUIDobjectSidobjectVersionoperatorCountotherFacsimileTelephoneNumberotherHomePhoneotherIpPhoneotherLoginWorkstationsotherMailboxotherMobileotherPagerotherTelephoneotherWellKnownObjectsouownerBLpagerpartialAttributeDeletionListpartialAttributeSetpersonalPagerpersonalTitlephotophysicalDeliveryOfficeNamepOPCharacterSetpOPContentFormatpossibleInferiorspostalAddresspostalCodepostOfficeBoxpreferredDeliveryMethodpreferredLanguagepreferredOUprimaryGroupIDprimaryInternationalISDNNumberprimaryTelexNumberprofilePathprotocolSettingsproxiedObjectNameproxyAddressespublicDelegatespublicDelegatesBLpwdLastSetqueryPolicyBLregisteredAddressreplicatedObjectVersionreplicationSensitivityreplicationSignaturereplPropertyMetaDatareplUpToDateVectorrepsFromrepsTorevisionridroomNumbersAMAccountNamesAMAccountTypescriptPathsDRightsEffectivesecretarysecurityIdentifiersecurityProtocolseeAlsoserialNumberserverReferenceBLservicePrincipalNameshadowExpireshadowFlagshadowInactiveshadowLastChangeshadowMaxshadowMinshadowWarningshowInAddressBookshowInAdvancedViewOnlysIDHistorysiteObjectBLsnststreetstreetAddressstructuralObjectClasssubmissionContLengthsubRefssubSchemaSubEntrysupplementalCredentialssupportedAlgorithmssystemFlagstargetAddresstelephoneAssistanttelephoneNumberteletexTerminalIdentifiertelexNumberterminalServertextEncodedORAddressthumbnailLogothumbnailPhototitletokenGroupstokenGroupsGlobalAndUniversaltokenGroupsNoGCAcceptableuiduidNumberunauthOrigunauthOrigBLunicodePwdunixHomeDirectoryunixUserPasswordunmergedAttsurluserAccountControluserCertuserCertificateuserParametersuserPassworduserPKCS12userPrincipalNameuserSharedFolderuserSharedFolderOtheruserSMIMECertificateuserWorkstationsuSNChangeduSNCreateduSNDSALastObjRemovedUSNIntersiteuSNLastObjRemuSNSourceversionNumberwbemPathwellKnownObjectswhenChangedwhenCreatedwWWHomePagex121Addressx500uniqueIdentifier

8 May 2021

Create Bulk Users in Active Directory (Step-By-Step Guide)

If you don’t like PowerShell or want a GUI import tool then jump to method 2. What you will need:  PowerShell Active Directory Module loaded – The script I provide will load the module you just need to run it from a computer that has […]

9 February 2021

Import from CSV into Active Directory (for Users)

Create a CSV file containing your date: users.csv FirstName, LastName, UserName, FullName $Users = Import-Csv -Path c:\users\users.csv $OU = ‘ou=Users,dc=mydomain,dc=com’ foreach ($User in $Users) { New-ADUser -Name $User.Fullname -Path $OU -GivenName $User.FirstName -Surname $user.LastName -SamAccountName $user.Username -DisplayName $user.Fullname }