Hi,
Below script using for DL - distribution list group updates. Script updates are quite good, however if any user not found in directory, script will skip entire DL to update further its members instead of that particular user skip.
Foreach ($Group in(Import-csv "D:\script-users\DL\DL_30May02.csv"))
{$Members=$group.Members.split(";");update-distributiongroupmember -identity $Group.samAccountname -Members $Members -confirm:$false}
write-host "Members updates are completed"
Can any parameter to include to skip only that particular user(not found in directory) and do the DL updates properly
Please help
MD