Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change SMS cache size from admin console?

Status
Not open for further replies.

Fubyou

IS-IT--Management
Jul 6, 2004
6
US
I have a hundred sms clients installed allready. The cache size was set to 200 mb (default instead of 2048 mb). How can i change this WITHOUT going to every pc's control panel.
 
save as a vb script:

On Error Resume Next

Dim nValueToCheck
Dim nValueToSet

Dim oUIResource
Dim oCache

Set oUIResource = CreateObject("UIResource.UIResourceMgr")
Set objCacheInfo = oUIResource.GetCacheInfo

nValueToCheck = 250
nValueToSet = 900

' Set the cache size if it's less than or equal to 250
if objCacheInfo.TotalSize <= nValueToCheck then
objCacheInfo.TotalSize = nValueToSet
end if
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top