Author Posts

January 23, 2017 at 11:19 pm

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.

January 23, 2017 at 11:28 pm

Hello there! Just add the -PassThru parameter. I hope I understood you correctly.

January 24, 2017 at 8:16 am

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.