Welcome › Forums › General PowerShell Q&A › Getting add-adgroupmember to show up immediately
This topic contains 2 replies, has 3 voices, and was last updated by
I am using
Add-ADGroupMember -Identity 'insertGroupName' -Members 'insertComputerName' -Server 'insertServerName'
It adds the group to my computer account, but it does not show up right away when I get members of on my computer object. My question is, How do I get it to show up right away?
Thanks for any and all help.
Hello there! Just add the -PassThru parameter. I hope I understood you correctly.
Are you using the same -Server parameter on you're Get command as well? If not, you're subjected to Active Directory replication delays which depend on the setup of the domain.
The topic ‘Getting add-adgroupmember to show up immediately’ is closed to new replies.