How to add users to a universal group and set the managerhi there<br/>i'm looking for someone, who could give me some tipps, how to create a script, to add users to the existing group and add a manager to the existing group. thanks for some input, cause i'm a littlebit lost.<br/><br/>uerueluem<br/><br/>additionaly question:<br/>is it possible, that i'm doing a read-host to enter the username like &quot;mueller, mike&quot; and it would that and convert it to <a href="mailto:mumi@contoso.com">mumi@contoso.com</a> (unc-name)?© 2009 Microsoft Corporation. All rights reserved.Mon, 06 Jul 2009 02:12:32 Z9b8f0258-10e1-4263-b65a-258f1bf44ab2http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/thread/9b8f0258-10e1-4263-b65a-258f1bf44ab2#9b8f0258-10e1-4263-b65a-258f1bf44ab2http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/thread/9b8f0258-10e1-4263-b65a-258f1bf44ab2#9b8f0258-10e1-4263-b65a-258f1bf44ab2uerueluemhttp://social.technet.microsoft.com/Profile/en-US/?user=uerueluemHow to add users to a universal group and set the managerhi there<br/>i'm looking for someone, who could give me some tipps, how to create a script, to add users to the existing group and add a manager to the existing group. thanks for some input, cause i'm a littlebit lost.<br/><br/>uerueluem<br/><br/>additionaly question:<br/>is it possible, that i'm doing a read-host to enter the username like &quot;mueller, mike&quot; and it would that and convert it to <a href="mailto:mumi@contoso.com">mumi@contoso.com</a> (unc-name)?Mon, 29 Jun 2009 15:18:10 Z2009-06-29T15:35:31Zhttp://social.technet.microsoft.com/Forums/en-US/winserverpowershell/thread/9b8f0258-10e1-4263-b65a-258f1bf44ab2#ffef1f00-f080-438f-b212-d4f8879c64b3http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/thread/9b8f0258-10e1-4263-b65a-258f1bf44ab2#ffef1f00-f080-438f-b212-d4f8879c64b3Mervyn Zhanghttp://social.technet.microsoft.com/Profile/en-US/?user=Mervyn%20ZhangHow to add users to a universal group and set the managerHi,<br/> <br/> Please read the following article get the detailed instructions to manage AD using PowerShell. It provides information to modify properties.  <br/> <br/> Benp’s Basic Guide to Managing Active Directory Objects with PowerShell<br/> http://blogs.technet.com/benp/archive/2007/03/05/benp-s-basic-guide-to-managing-active-directory-objects-with-powershell.aspx<br/> <br/> Regarding compose email address, you can customize the following code(input the user name without comma, like mueller mike ): <br/>  <br/> $Name = Read-Host &quot;Please enter your name&quot;<br/> $part=$name.split()<br/> $email=$part[0]+&quot;@&quot;+ $part[1]+&quot;.com&quot;<br/> <br/> Thanks. <br/> <hr class=sig> This posting is provided &quot;AS IS&quot; with no warranties, and confers no rights.Wed, 01 Jul 2009 12:01:51 Z2009-07-01T12:02:57Z