TechColumnist Storage Information Blog

20Oct/070

Change SMS Cache Size

This script will change the sms cache size.
Usage Example: cscript change-sms-cache.vbs 1000 d:
Note: size is in MB

On Error Resume Next
sSize = WScript.Arguments(0)
sLocation = WScript.Arguments(1)
Set oUIResource = CreateObject("UIResource.UIResourceMgr")
Set CacheInfo = oUIResource.GetCacheInfo

cacheInfo.TotalSize = sSize

if WScript.Arguments(1) then
CacheInfo.Location = sLocation
End if
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

No trackbacks yet.