HomeWindows ServerPowershell ScriptsUpdate Active Directory Account With CSV Values

Update Active Directory Account With CSV Values

CSV File:

PS Script:

Needs to be run as Administrator on Domain Controller.

Set AD Flags:
Identity
AccountExpirationDate
AccountNotDelegated
Add
AllowReversiblePasswordEncryption
CannotChangePassword
Certificates
ChangePasswordAtLogon
City
Clear
Company
Country
Department
Description
DisplayName
Division
EmailAddress
EmployeeID
EmployeeNumber
Enabled
Fax
GivenName
HomeDirectory
HomeDrive
HomePage
HomePhone
Initials
LogonWorkstations
Manager
MobilePhone
Office
OfficePhone
Organization
OtherName
PasswordNeverExpires
PasswordNotRequired
POBox
PostalCode
ProfilePath
Remove
Replace
SamAccountName
ScriptPath
ServicePrincipalNames
SmartcardLogonRequired
State
StreetAddress
Surname
Title
TrustedForDelegation
UserPrincipalName
AuthType
Credential
Partition
PassThru
Server
Confirm
WhatIf

Comments