Mine might be a bit better :-)

Check out 
http://techinfo.cnwl.ac.uk/Windows%202000%20Scripts/default.asp?dest=Home%20Folder%20Sizes.asp
 

Steve

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cothern Jeff D. 
Team EITC
Sent: 31 January 2005 19:57
To: [email protected]
Subject: RE: [ActiveDir] ldap

I was afraid you were going to say that.  Lets just say my scripting leaves 
much to desire. 


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Desmond
Sent: Monday, January 31, 2005 12:18 AM
To: [email protected]
Subject: RE: [ActiveDir] ldap

For the home drives, read their homeDirectory path and then go with a vbscript 
and recurse through the folder. 

Thanks.
�
--Brian Desmond
[EMAIL PROTECTED]
Payton on the web! www.wpcp.org
�
v - 773.534.0034 x135
f - 773.534.8101


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:ActiveDir- 
> [EMAIL PROTECTED] On Behalf Of Cothern Jeff D. Team EITC
> Sent: Sunday, January 30, 2005 8:38 PM
> To: [email protected]
> Subject: RE: [ActiveDir] ldap
> 
> Unfortunately we haven't updated exchange to 2003.  That is coming but 
> I was able to get the exchange infor easy enough manually in a way.  I 
> just opened system manager and connected to the mailstore and exported 
> the list which shows the information I needed except the mailstore 
> name.  Which I just did a simple copy paste fill in within excel and 
> in a few hours had the portion of users I needed with the mailstore and size 
> information.
> That actually wasn't that bad.  Home drive size though could be much 
> more difficult seeing as the people are in different file share areas.
> 
> I will definatley keep this information though for when we go to 2003 
> will make some reports easier to compile.
> 
> Thanks
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:ActiveDir- 
> [EMAIL PROTECTED] On Behalf Of Michael B. Smith
> Sent: Sunday, January 30, 2005 7:53 PM
> To: [email protected]
> Subject: RE: [ActiveDir] ldap
> 
> CDO/MAPI for mailbox size is moderately easy and can certainly be done 
> in VBScript. See:
> 
> http://blogs.brnets.com/michael/archive/2004/07/07/172.aspx
> 
> It does have a couple of issues (revolving around permissions and 
> updating the last login date of a mailbox). The WMI solution is much better, 
> IMHO.
> 
> I have a sample online for that at:
> 
> http://blogs.brnets.com/michael/archive/2004/07/26/181.aspx
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:ActiveDir- 
> [EMAIL PROTECTED] On Behalf Of Brian Desmond
> Sent: Sunday, January 30, 2005 1:36 AM
> To: [email protected]
> Subject: RE: [ActiveDir] ldap
> 
> AS far as mailbox size, don't even try to tackle the CDO for it. You 
> need some hardcore C++ fun, and I heard somewhere that it doesn't even 
> compile right unless you've got some weird stuff setup.
> 
> Since you have E2k3, you can query WMI for mailbox size, so it's 
> really easy. So is folder size - just make yourself a VBS that 
> recurses through folders with FileSystemObject summing the size of the 
> files. If you need a sample lemme know.
> 
> Thanks.
> 
> --Brian Desmond
> [EMAIL PROTECTED]
> Payton on the web! www.wpcp.org
> 
> v - 773.534.0034 x135
> f - 773.534.8101
> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:ActiveDir- 
> > [EMAIL PROTECTED] On Behalf Of joe
> > Sent: Saturday, January 29, 2005 11:24 PM
> > To: [email protected]
> > Subject: RE: [ActiveDir] ldap
> >
> > Depends on which name attribute. If you know the attribute and the 
> > format of the name you set up the simple filter to do it and return 
> > the proper attributes. Without specifics you can't be given a 
> > specific answer.
> >
> > But assuming you mean display name it could be something like
> >
> > Adfind -default -f "displayname=blah blah" samaccountname 
> > userPrincipalName homeDirectory homeMDB
> >
> > You can't get directory size or mailbox size from AD, that info 
> > isn't stored in AD.
> >
> >   joe
> >
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Cothern Jeff D.
> > Team EITC
> > Sent: Saturday, January 29, 2005 3:38 PM
> > To: [email protected]
> > Subject: [ActiveDir] ldap
> >
> > Say I have a list of names and I want to query AD to get back their 
> > user name, Home directory, mail store.  What would be the command to 
> > or way to more efficiently get this information.
> >
> > Eventually I need their Home directory size and mailbox size too but 
> > figure that I gotta do more manually.
> >
> > Jeff
> >
> >
> > List info   : http://www.activedir.org/List.aspx
> > List FAQ    : http://www.activedir.org/ListFAQ.aspx
> > List archive:
> > http://www.mail-archive.com/activedir%40mail.activedir.org/
> >
> > List info   : http://www.activedir.org/List.aspx
> > List FAQ    : http://www.activedir.org/ListFAQ.aspx
> > List archive:
> > http://www.mail-archive.com/activedir%40mail.activedir.org/
> List info   : http://www.activedir.org/List.aspx
> List FAQ    : http://www.activedir.org/ListFAQ.aspx
> List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
> List info   : http://www.activedir.org/List.aspx
> List FAQ    : http://www.activedir.org/ListFAQ.aspx
> List archive: 
> http://www.mail-archive.com/activedir%40mail.activedir.org/
> 
> 
> List info   : http://www.activedir.org/List.aspx
> List FAQ    : http://www.activedir.org/ListFAQ.aspx
> List archive: 
> http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to