Hello,
I would like to add the extensionAttribute9 field with "Azure".
Currently I have to manually added the extensionAttribute9 field with "Azure" via adsi editor. Is there any powershell script to use to add such attributes.
Thanks,
Technology Tips and News
Hello,
I would like to add the extensionAttribute9 field with "Azure".
Currently I have to manually added the extensionAttribute9 field with "Azure" via adsi editor. Is there any powershell script to use to add such attributes.
Thanks,
Set-adUser joe -Add @{ExtensionAttiibute9='Azure'}
Thanks. but wht abt multi
Get-aduser -Filter * | Set-adUser joe -Add @{ExtensionAttiibute
$data = get-content c:\MailArchive\UserList.txt
foreach($a in $data)
{
Set-ADUser -Identity $a -Add @{extensionAttribute9="azure"}
}
It working fine, after I tried creating the below script.