Page 1 of 1 1
Topic Options
#59595 - 2001-10-04 07:37 PM OFF TOPIC - List of groups
cmarti Offline
Hey THIS is FUN

Registered: 2001-02-26
Posts: 297
Loc: Little Rock, AR
Is there a type of command line utility that will list groups in a list w/ only group names of local and global groups? Sort of like the output of a dir /b command in dos.

Me after we finally got rid of the nimda virus at our site --->

Thanks..

Top
#59596 - 2001-10-04 07:50 PM Re: OFF TOPIC - List of groups
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
you can do a "net group" on a domain controller, and a "net localgroup" on the workstations.

a kix4.0/ADSI option would be...

code:

$domain = getobject("WinNT://@domain")
if vartype($domain) <> 9 ? "unable to connect to @domain" exit(0) endif
for each $group in $domain
if $group.class = "group"
? $group.name
endif
next


Top
#59597 - 2001-10-04 10:59 PM Re: OFF TOPIC - List of groups
cmarti Offline
Hey THIS is FUN

Registered: 2001-02-26
Posts: 297
Loc: Little Rock, AR
Thanks Bryce,

I tried the script but it gave me the error message. I'm running kix 3.43 so that may be why. I had already tried the net localgroup but it gave me the results in a column format. I need something in a list format so I can set up an automatic script to do the task I'm needing. I already have the script set up to do the task I just need a dump of groups, local and global in a list format.

Thanks..

Top
#59598 - 2001-10-17 02:06 AM Re: OFF TOPIC - List of groups
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

Bryce's code is running by the kixtart 2001 release.

We advise to upgrade to the newer release f.e. kixtart 3.63.
Kixtart 3.63 release has only new functions. Upgrading from earlier
versions will never be a problem.
You can simplify such upgrade for clients by using our package kix363upgrade.exe, which
you can find on our site
http://home.wanadoo.nl/scripting
also you need to replace the kixrpc.exe file on your servers.
Greetings.

btw: upgrading to Kixtart 4.00 release can give some problems because
some functions are removed.

btw: symbol on our homepage has been linked to related http://kixtart.org topic.

_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#59599 - 2001-10-17 04:33 PM Re: OFF TOPIC - List of groups
cmarti Offline
Hey THIS is FUN

Registered: 2001-02-26
Posts: 297
Loc: Little Rock, AR
Thanks MCA. I've seen the 2001 RC1, is this the official release of the new version of kix?

Thanks..

Top
#59600 - 2001-10-17 04:36 PM Re: OFF TOPIC - List of groups
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Nope !

see this thread

J.

_________________________



Top
#59601 - 2001-10-17 04:39 PM Re: OFF TOPIC - List of groups
cmarti Offline
Hey THIS is FUN

Registered: 2001-02-26
Posts: 297
Loc: Little Rock, AR
This is what the link gave me when I clicked it...

No such topic number exists.

Top
#59602 - 2001-10-17 04:44 PM Re: OFF TOPIC - List of groups
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Forgive me !!!

I've just switched to Opera 5.12 as my default browser

And obviously there's a maximum amount of chars in the instant url thingie

so here it is again !

Click Me !!!

Opera RULEZ !!!

_________________________



Top
#59603 - 2001-10-17 04:51 PM Re: OFF TOPIC - List of groups
cmarti Offline
Hey THIS is FUN

Registered: 2001-02-26
Posts: 297
Loc: Little Rock, AR
Cool...Thanks... I think I'll wait for the released version to come out since I'll be upgrading a little over 4000 clients to it.

Thanks for everyone's help!!!

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 7682 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 2.104 seconds in which 1.827 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org