How to clear an AD user attributes using powershell

Опубликовано: 02 Ноябрь 2024
на канале: Fun & Tech
563
4

clear a disabled user attributes like, department, email id, description, city, title as part of the off-boarding request in an organization.
script:
Set-ADUser -Identity smathews -clear description, mail, department, title