Adding and removing extensionattribute to AD object

后端 未结 7 1367
春和景丽
春和景丽 2020-12-09 18:02

I\'m using powershell to modify some AD extensionattribute.

This is my code to add an extensionattribute

Set-ADUser -Identity \"anyUser\" -Add @{exte         


        
7条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-09 18:28

    To clear the value you can always reset it to $Null. For example:

    Set-Mailbox -Identity "username" -CustomAttribute1 $Null

提交回复
热议问题