Sent: Monday, February 07, 2005 2:05 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Obtaining a count of members in a group
You CAN, but 'FIND' has nowhere near the 'fun' that grep does. Have you
ever seen an entire BOOK written on 'FIND'?
;p
-rtk
@mail.activedir.org
Subject: RE: [ActiveDir] Obtaining
a count of members in a group
For the VBS posted earlier, listMembers is
supposed to be an array, so if you want to get the number of members you can
output a
ubound(listMembers) -
lbound(listMembers).
To batch adfind the following should work
alf Of
joeSent: Monday, February 07, 2005 5:07 PMTo:
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Obtaining a
count of members in a group
I'm so proud, it brings a tear to my eye.
:o)
Also for the first question
adfind -b dc=domain,dc=com -f samaccountname=groupnam
: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Obtaining a count of members in a group
Instead of grep you can also use find
Command |find /c ">member"
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Charlie Kaiser
Sent: Monda
will not be
displayed in the output.
joe
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Burns,
ClydeSent: Monday, February 07, 2005 11:49 AMTo:
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Obtaining a
count of members in a group
This is pretty simple adsi
s c. oh
>
> \\.\core technologies\cox communications, inc.
>
> \\.\mvp\windows server systems\management
>
> [v] 404.847.6117 [c] 404.391.7097
>
>
>
>
>
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf O
EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Creamer,
MarkSent: Monday, February 07, 2005 12:50 PMTo:
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Obtaining a
count of members in a group
Shouldn’t it do that
natively? I mean, come on joe…
(just kidding…please
don’t blo
nder penalty of death to decode it
than do the same with a Dean batch file.
joe
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rick
KingslanSent: Monday, February 07, 2005 1:03 PMTo:
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Obtaining a
count of members
-rtk
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of joe
Sent: Monday, February 07, 2005
10:07 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Obtaining
a count of members in a group
I'm so proud, it brings a tear to my eye.
:o)
Also for the firs
: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] Obtaining
a count of members in a group
I'm so proud, it brings a tear to my eye.
:o)
Also for the first question
adfind -b dc=domain,dc=com -f
samaccountname=groupname member |grep -c ">member"
Doing this f
)
For Each objUser In objGroup.Memberstextfile.Writeline (chr(34)
& objUser.Name & chr(34) & chr(44) & chr(34) &
objuser.FullName & chr(34))x=x+1Next
textfile.writeline vbcrlf & "Total Number: " &
xtextfile.close
WScript.Echo strfile & &
logies\cox communications, inc.
>
> \\.\mvp\windows server systems\management
>
> [v] 404.847.6117 [c] 404.391.7097
>
>
>
>
>
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Manjeet
> Sent: Monday, Febr
x27;m
not the one that could do it.
joe
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Coleman,
HunterSent: Monday, February 07, 2005 10:58 AMTo:
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Obtaining a
count of members in a group
In that case, you could use adfi
PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Manjeet
Sent: Monday, February 07, 2005
9:46 AM
To: ActiveDir@mail.activedir.org
Subject: Re: [ActiveDir] Obtaining
a count of members in a group
You can use following command to get the list of member
adfind = to get the member for
MAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Abbiss,
MarkSent: Monday, February 07, 2005 8:19 AMTo:
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Obtaining a
count of members in a group
Many
thanks, excellent help.
I hope
I am not pushing my luck by asking for another brainstor
ing
Thanks
again.
-Original Message-From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Coleman, HunterSent: Montag, 7. Februar 2005
15:58To: ActiveDir@mail.activedir.orgSubject: RE:
[ActiveDir] Obtaining a count of members in a group
This will dump the groups in an
Title: Message
This will dump the groups in an OU, their members, and
the count of the members. If you're only interested in a single group, you can
tweak it a bit to grab just that group.
Hunter
const ForReadin
You can use following command to get the list of member
adfind = to get the member for distribution group
global = to get the member for global group
Best-
Manjeet
"Abbiss, Mark" <[EMAIL PROTECTED]> wrote:
Please, does anyone know of a quick way to find the number of users in a part
18 matches
Mail list logo