Because I know it's happened to a lot of people and because my DB size is getting close to the 16GB limit, I wrote a script to check the size and send a status email to my account every night (Task Scheduler).
I thought someone else might be able to use it so I'm posting it here. Just copy the text below and save it as a .vbs (putting in your correct info in email and path)
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colFiles = objWMIService.ExecQuery _
("Select * from CIM_Datafile Where Path = '\\stuff\\' " & _
"AND Drive = 'e:'")
Set objEmail = CreateObject("CDO.Message")
dtmThisDay = Day(Date)
dtmThisMonth = Month(Date)
dtmThisYear = Year(Date)
strBackupName = dtmThisYear & "-" & dtmThisMonth & "-" & dtmThisDay
txtbdy = "Exhange Data Store:" & vbCRLF
For Each objFile in colFiles
txtbdy = txtbdy & "File name: " & objFile.FileName & "." & objFile.Extension & vbCRLF
txtbdy = txtbdy & "File size: " & objFile.FileSize & vbCRLF & vbCRLF
Next
objEmail.From = "your.email@your.domain"
objEmail.To = "your.email@your.domain"
objEmail.Subject = "Exchange Store Size: " & strBackupName
objEmail.Textbody = txtbdy
objEmail.Send
I thought someone else might be able to use it so I'm posting it here. Just copy the text below and save it as a .vbs (putting in your correct info in email and path)
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colFiles = objWMIService.ExecQuery _
("Select * from CIM_Datafile Where Path = '\\stuff\\' " & _
"AND Drive = 'e:'")
Set objEmail = CreateObject("CDO.Message")
dtmThisDay = Day(Date)
dtmThisMonth = Month(Date)
dtmThisYear = Year(Date)
strBackupName = dtmThisYear & "-" & dtmThisMonth & "-" & dtmThisDay
txtbdy = "Exhange Data Store:" & vbCRLF
For Each objFile in colFiles
txtbdy = txtbdy & "File name: " & objFile.FileName & "." & objFile.Extension & vbCRLF
txtbdy = txtbdy & "File size: " & objFile.FileSize & vbCRLF & vbCRLF
Next
objEmail.From = "your.email@your.domain"
objEmail.To = "your.email@your.domain"
objEmail.Subject = "Exchange Store Size: " & strBackupName
objEmail.Textbody = txtbdy
objEmail.Send