Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Need to query cache size of SMS Clients

Posted on 2009-07-02
1
Medium Priority
?
601 Views
Last Modified: 2013-11-21
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?  
0
Comment
Question by:net1994
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 10

Accepted Solution

by:
JonLambert earned 750 total points
ID: 24782806
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
  wscript.quit(0)
Else
  wscript.quit(1)
End If

Open in new window

0

Featured Post

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After having deployed hundreds of thousands of Terminal Services seats worldwide, I still see all the time people asking me that same old question: "If TS/RDS is that reliable why are you telling me I should reboot it that often? My DC/SQL/Exchange/…
Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip is around source server preparation. No migration is an easy migration, there is a…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question