Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Get Mailbox Size from UPN list

 
Logged in as: Guest
arrSession:exec spGetSession 2,16,52743
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> Post a VBScript >> Get Mailbox Size from UPN list
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Get Mailbox Size from UPN list - 10/17/2007 1:29:19 AM   
  4scriptmoni


Posts: 184
Score: 0
Joined: 5/3/2007
Status: offline
Well if your Exchange server Mailbox just takes way long to open, like mine.
Then this is a great solution to get MBX size using just a list of Emails.
Maybe you can run on a disabled account make a report and send to your boss about all that wasted space.

enjoy it...


      

< Message edited by 4scriptmoni -- 3/12/2008 11:22:37 PM >


_____________________________

Enterprise Microsoft Scripts
Exchange, Login/Logout Monitor,TS, Monitoring, Security, AD, etc...
http://www.xoroz.com
 
 
Revisions: 2 | Post #: 1
 
 RE: Get Mailbox Size from UPN list - 1/29/2008 5:49:10 AM   
  gunes_t

 

Posts: 1
Score: 0
Joined: 6/22/2007
Status: offline
Hi,
i would like to run this script in my network, but a have some problems with this script.

1.Upn name is  called "userPrincipalName" but in the first call you are searching for mail attribute:    { call fGetADField(username,location,"msExchMailboxGuid","mail")    }

I try to change the call with { call fGetADField(username,location,"msExchMailboxGuid","samAccountname")   } and put in my usv.txt list the userid of the account wihch i want to display,  but it does'nt help.

2. I don't understand this line "Dim strOU : strOU="OU..." can i write this line also in this way?
Dim strOU
strOU="OU..."

Thanks

(in reply to 4scriptmoni)
 
 
Post #: 2
 
 RE: Get Mailbox Size from UPN list - 3/12/2008 11:25:53 PM   
  4scriptmoni


Posts: 184
Score: 0
Joined: 5/3/2007
Status: offline
Hey there, so did u get the script working?

Its quite complex, no? well
1..Upn name is  called "userPrincipalName", First I call it on EXCHANGE to get the GUID then I try to make ref to AD
2.Its the same, just make it shorter.
Dim strOU : strOU="OU..."  or
Dim strOU
strOU="OU..."

ah be sure to create a "log" folder where the script is.

let me know if u need more help..

cheers

_____________________________

Enterprise Microsoft Scripts
Exchange, Login/Logout Monitor,TS, Monitoring, Security, AD, etc...
http://www.xoroz.com

(in reply to gunes_t)
 
 
Post #: 3
 
 RE: Get Mailbox Size from UPN list - 6/9/2008 11:30:19 PM   
  4scriptmoni


Posts: 184
Score: 0
Joined: 5/3/2007
Status: offline
Here is a new version.
The hardest thing to make this script to work is to get the correct OU path, Use ADSIedit.msc to get it.


      

_____________________________

Enterprise Microsoft Scripts
Exchange, Login/Logout Monitor,TS, Monitoring, Security, AD, etc...
http://www.xoroz.com

(in reply to 4scriptmoni)
 
 
Post #: 4
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> Post a VBScript >> Get Mailbox Size from UPN list Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts