You might have need to remove or clear certain user attributes in Active Directory. Here’s a couple examples of how to do that:
Set-ADUser -homePhone $null
Set-ADUser -clear -homePhone
To remove multiple attributes, use a comma…
set-ADUser -clear homePhone, StreetAddress, givenName
Looking for an awesome, no-nonsense technical conference for IT Pros, Developers, and DevOps? IT/Dev Connections kicks off in Dallas, Texas in 2018!