Hello,
I'm making a script finding out if the mailbox size quotas are bigger than defaults. It says to me it's error 0x80040E37 - table does not exist. I want to find all private mailox stores that exist on the server and then, using the homeMDBBL property, iterate through their mailboxes and estimate their storage limits.
I'm using VBS. The script is run on the server.
My script (the "wrong" part of it):
Set objConn = CreateObject("ADODB.Connection")
objConn.Provider = "ADsDSOObject"
objConn.Open "Active Directory Provider"
Set objCommand = CreateObject("ADODB.Command")
Set objCommand.ActiveConnection = objConn
Set objRoot = GetObject("LDAP://myserver/RootDSE")
strNameContext = objRoot.Get("ConfigurationNamingContext")
strQuery = "<" & strNameContext & ">;(objectClass=msExchPrivateMDB);homeMDBBL;subTree"
objCommand.Commandtext = strQuery
objRecordSet = objCommand.Execute
I suppose there's something wrong with my rights, though I'm a local admin on the server.
PS. I DO know there was a similar thread on this forum about ASP, but it didn't really help me.
PPS. Yes, I AM a newb
I'm making a script finding out if the mailbox size quotas are bigger than defaults. It says to me it's error 0x80040E37 - table does not exist. I want to find all private mailox stores that exist on the server and then, using the homeMDBBL property, iterate through their mailboxes and estimate their storage limits.
I'm using VBS. The script is run on the server.
My script (the "wrong" part of it):
Set objConn = CreateObject("ADODB.Connection")
objConn.Provider = "ADsDSOObject"
objConn.Open "Active Directory Provider"
Set objCommand = CreateObject("ADODB.Command")
Set objCommand.ActiveConnection = objConn
Set objRoot = GetObject("LDAP://myserver/RootDSE")
strNameContext = objRoot.Get("ConfigurationNamingContext")
strQuery = "<" & strNameContext & ">;(objectClass=msExchPrivateMDB);homeMDBBL;subTree"
objCommand.Commandtext = strQuery
objRecordSet = objCommand.Execute
I suppose there's something wrong with my rights, though I'm a local admin on the server.
PS. I DO know there was a similar thread on this forum about ASP, but it didn't really help me.
PPS. Yes, I AM a newb