Using ADSI to clear an attribute
I have many scripts that write information into Active Directory. Sometimes I need to do the opposite — remove or blank out an attribute. All of the following examples will require a distinguishedName value in AD, so I will set a common variable here. You will need a valid distinguishedName…