Adding User from a different domain to other Universal domain group.
hi all,
can please know how can use below script add child domain user child domain added group root domain. same script works in root domain being executed not while adding child domain user universal domain group
#
# add user group - powershell script
#
import-module activedirectory
import-csv "c:\users.csv" | % {
add-adgroupmember -identity "grpx" -member $_.username
i not sure, let me know if throws error
in csv file username format should 'domain\username'
regards chen v [mcts sharepoint 2010]
Windows Server > Directory Services
Comments
Post a Comment