Is there a way from me to populate ADUser Attribute (Company ) for the members of a security group using powershell.
Thanks,
Is there a way from me to populate ADUser Attribute (Company ) for the members of a security group using powershell.
Thanks,
this is what i'm working with:
get-ADGroup " GroupName" | sort -property Company | foreach { set-ADUser $_ -Company ABC}.
Is that correct?
Hi,
You can try this
Get-ADGroupMember $group | Set-ADUser -Company "ABC"
Best Regards,
Ian Xue
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
12 people are following this question.