Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Powershell for Unix Attributes - add NIS members to group

$
0
0

Hey Scripting Guys,

I have the abliity to mass add Unix/Linux users or groups to Active Directory, but am having trouble coming up with a way to add users to the groups.  One issue with this is that the GUI would show the information, but until I pulled them out of the NIS domain and reset the user/groups back into the NIS domain I was not allowed to add the users to the groups.

I think it should be along the lines of a Set-ADObject for both memberUid and msSFU30PosixMember, but would like help with the command.  This would be a lot easier if the Unix Attributes tab allowed cut/paste for the samAccountName, but it looks like it only allows selection of the user by name if they have Unix Attributes already set.

Thanks

DG



Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>