Radhakrishnan Govindan
Radhakrishnan Govindan

He is MVP and Certified in various Technologies MCTS / MCITP-Exchange 2010 and Exchange 2013,MCSA in Office365, MCSE in Lync 2013, MCSA Server 2012, MCTS in Server 2008.

In this Article, we will see how to add user or users or Computer using Powershell. If you want to add users to the specific one Group, you can use the below command.. $domain=”Windowstechpro.com” $Computer = $env:COMPUTERNAME; $ADSIComputer = [ADSI](“WinNT://$Computer,computer”); $SGName = $ADSIComputer.psbase.children.find(‘Administrators’) function Groupmember($number) { $SGName.add(“WinNT://”+$domain+”/”+$number ) } Groupmember “radhakrishnan.govindan”  Groupmember “veterivel.Madeshwaran”  In the…

Continue reading How to add domain users to the Local Groups using Powershell