Re: Adding to group by Ray
Ray
Wed May 26 22:16:20 CDT 2004
Shell script, not vbs:
net localgroup administrators DOMAINNAME\groupname /ADD
Be sure to enclose group names in quotes if there are spaces, i.e.
NET LOCALGROUP Administrators "DOMAINNAME\Helpdesk Support" /ADD
Ray at home
p.s. Note that the user or context under which this is run will need admin
rights on the local machine.
"steven" <stebeard@onetel.com> wrote in message
news:uHUyXN2QEHA.1312@TK2MSFTNGP12.phx.gbl...
> Hi
>
> i need a script to add a domain group to the local admin group
>
> cheers
>
> ste
>
>