Re: export users from a local group with domain membership



thanks for your reply... by the way is there a way to accomplish this via
wsh/vbs?

thanks again.
--
David


"Jerold Schulman" wrote:

> On Mon, 1 Aug 2005 19:46:02 -0700, "David" <davidnyg@xxxxxxxxx> wrote:
>
> >Hey guys, basically what I'm having trouble writing is a script that
> >basically grabs all the users from a local group on a server (which have
> >domain users) and export them to ldf or whatever, then import them back or
> >import back to another servers local group/domain group.
> >
> >The idea is I'm in the process of rebuilding a server, unfort... this server
> >has 3 local groups which contain alot of domain user accounts. I dont want to
> >enter all this manually again. So I want a script where I could do a quick
> >export of users of that group (local) then re-import them to the new servers
> >"local" group.... any help would be greatly appreciated.
> >
> >thanks again.
>
> See tip 9346 » How can I generate a CSV file of all local group membership?
> in the 'Tips & Tricks' at http://www.jsifaq.com
>
>
.



Relevant Pages

  • Re: export users from a local group with domain membership
    ... >> The idea is I'm in the process of rebuilding a server, ... So I want a script where I could do a quick ... one that export only domain users to a text ... > Const OverwriteIfExist = -1 ...
    (microsoft.public.scripting.vbscript)
  • Re: Add Domain Users group to local Power Users group
    ... for scripts that add domain users / groups to local groups but haven't ... variable inside the script so that the script works on all computers. ... You pass the AdsPath of the new member to the method. ... ' Bind to the local group with the WinNT provider. ...
    (microsoft.public.scripting.vbscript)
  • Re: Add Domain Users group to local Power Users group
    ... for scripts that add domain users / groups to local groups but haven't ... variable inside the script so that the script works on all computers. ... You pass the AdsPath of the new member to the method. ... ' Bind to the local group with the WinNT provider. ...
    (microsoft.public.scripting.vbscript)
  • Re: Script Help
    ... I'm searching and searching this... ... I can't believe that no one has a script ... that queries users that logged on the server. ... remember that I've local users and domain users that logs on the ...
    (microsoft.public.windows.server.scripting)
  • Re: Script Help
    ... list of domain users that logged on that server? ... Although the rlmueller is an excellent site with lots of script ... time they logged, description, if is a local user or domain user!!! ... remember that I've local users and domain users that logs on the ...
    (microsoft.public.windows.server.scripting)