Need to query cache size of SMS Clients

We have quite few SMS 2003 clients that have not received the updated cache policy of  2GB.   Is there a VBS script or something built into SMS that will show me cache size per client, fora given collection or system?  
Who is Participating?
JonLambertConnect With a Mentor Commented:
The cache info is indvidually configurable per client, with a default size you can set during the client installation.

Instead of trying to query the cache size for each client, you would be better off creating a script to set the required cache size, and advertising it to the collection.

As the UI Resource Manager is only available when there is a logon session on the client, make sure that the SMS Program is set to run with Administrative priveleges, and only when a user is logged on.

On Error Resume Next
Set oUIResManager = CreateObject("UIResource.UIResourceMgr")
Set oCache = oUIResManager.GetCacheInfo()
oCache.TotalSize = 2048
If oCache.TotalSize = 2048 Then
End If

Open in new window

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.